We need to override the default smart-stepping logic and provide specific steps that should be performed at given locations.
This is necessary for debuggers that are based on JPDA, but debug a language which is interpreted by Java code. The stepping needs to be adjusted not to end up in Java interpreter code, but to get to the actual language.
Created attachment 156705 [details]
The proposed API
Attached the proposed API: SmartSteppingCallback.stopAt() and SmartSteppingCallback.StopOrStep class.
Please review the proposed API change.
Created attachment 156706 [details]
A possible usage.
Thanks for the review, I'll integrate tomorrow.
Integrated into 'main-silver', will be available in build *201510230002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Log: #255918: Enhanced smart-stepping API. SmartSteppingCallback.stopAt() method added.