Here's my scenario:
CoreService
)ServiceTestCase<CoreService>
to test it CoreService
spawns a thread and instantiates several classes that have listeners/callbacks on them.Is there any way to set up breakpoints in the spawned threads and/or callbacks and have JUnit stop at these? It only stops at breakpoints set in the JUnit project or CoreService
class.
Try changing the breakpoint suspend policy to Suspend VM:
To change it globally:
For more information about Breakpoint Suspend Policy, check out here.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With