The only mechanism for turning off full-speed debugging is the switch
-Xdebug:int
on the java command line. There are three problems with this sub-option:
[1] Sub-option is undocumented, non-standard and not approved.
[2] Most tool vendors use JDI, JDI has no support for -Xdebug
sub-options (and because of [1] should not)
[3] The implementation makes the flags order dependent, e.g.:
"-Xmixed -Xdebug:int" is different than
"-Xdebug:int -Xmixed", in fact the later will crash
Vendors will need the ability to turn-off full-speed since it is new
code and may be unstable and since, at this time, not all functionality
it supported.
-Xdebug:int
on the java command line. There are three problems with this sub-option:
[1] Sub-option is undocumented, non-standard and not approved.
[2] Most tool vendors use JDI, JDI has no support for -Xdebug
sub-options (and because of [1] should not)
[3] The implementation makes the flags order dependent, e.g.:
"-Xmixed -Xdebug:int" is different than
"-Xdebug:int -Xmixed", in fact the later will crash
Vendors will need the ability to turn-off full-speed since it is new
code and may be unstable and since, at this time, not all functionality
it supported.
- duplicates
-
JDK-4507465 full-speed debugging roll-up including: watchpoint support missing - regression
-
- Closed
-