user710818
user710818

Reputation: 24248

Is it possible to set breakpoint in Eclipse in java.lang.Thread.run method?

I need to track where is thread that in Eclipse debugger seen as:

Warning-123

is created. Is it possible to set a breakpoint in Eclipse in java.lang.Thread.run method? How to filter out only this thread?

Upvotes: 2

Views: 459

Answers (1)

John B
John B

Reputation: 32949

Yes you can. As far as breaking on only "this" thread, you probably need to add a conditional checking the thread name and put the break in the conditional.

Upvotes: 1

Related Questions