Community
Participate
Working Groups
build i1026. You are able to configure a breakpoint's properties so it suspends either the thread or the whole VM when it is hit. I would like to have a preference so I can change my default to be the VM. (useful when tracking down concurrency problems)
Deferred
*** Bug 107223 has been marked as a duplicate of this bug. ***
open for 3.2
Created attachment 30629 [details] Patch: Adds option to change default suspension method Adds to the Java Debug Preferences Page the option to change default suspension method of breakpoints upon their creation. Subsequent breakpoints created will have the default suspension method specified in the Java Debug Preferences Page option.
Assigning to Darin for review.
I think the design/impl would work better/simpler if the preference was an Integer storing the default suspend policy - i.e. PREF_DEFAULT_BREAKPOINT_SUSPEND_POLICY. The value would be one of IJavaBreakpoint.SUSPEND_VM or IJavaBreakpoint.SUSPEND_THREAD.
Created attachment 31031 [details] Changes storage style of previous patch from Boolean to Int Patch: addresses concern in Comment #6, so that the value is now stored in an extensible Integer format, referenced by the suggested constant.
assigning to Darin for review.
Created attachment 35311 [details] patch reworked entire patch, as it seems to be hosed
please verify Darin.
Created attachment 35885 [details] updated patch Updates to reflect other changes in the same classes
I think this feature should be re-worked to only effect newly created breakpoints rather than all existing Java breakpoints. The preference description should be updated to reflect this - something like "Newly created breakpoints suspend entire VM by default".
Created attachment 36021 [details] updated patch patch changes the intention of the pref, and applies it only to newly created breakpoints.
please verify Kevin
Fixed. Applied patch with some changes. The UI for the perference is now a combo box.
Please verify, Mike.
verified