Bug 527921 - Add an option to not suspend on a trigger point
Summary: Add an option to not suspend on a trigger point
Status: NEW
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Debug (show other bugs)
Version: 4.7   Edit
Hardware: PC All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: JDT-Debug-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-11-29 10:26 EST by Stefan Winkler CLA
Modified: 2017-12-01 03:28 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Winkler CLA 2017-11-29 10:26:05 EST
I would like to see an option for trigger points so that
- regular break points are activated (i.e., same behavior as today) BUT
- hitting the trigger point itself does not suspend VM execution

This would be useful for scenarios in which I just want to hit a breakpoint after a certain line of code has been executed. For example, in an SWTBot test case I want to have a trigger point in the test case (= testable-thread) and a regular breakpoint in the regular logic (UI thread). 
My problem is that when the trigger point is hit I need to continue execution; thus, the SWTBot application under test loses focus and this breaks the test case.
Comment 1 Sarika Sinha CLA 2017-12-01 03:28:34 EST
Will look into the possibilities.