My Java application has a problem I'm struggling to solve. I need to breakpoint runWorker() method of ThreadPoolExecutor , but because this is a standard Java class I dont think I can add breakpoints to stop it when I run in my IntelliJ Java tool.
I could view the source in IntelliJ and set a breakpoint but unlike breakpoints in my own code it had no effect.
What is the right approach here ?
ThreadPoolExecutor#runWorker(Worker)method worked for me using IntelliJ; execution was suspended and was able to step though the code.