I'm using IntelliJ IDEA 14.1.5 to step through a Java program that calls methods in a third party jar (JTidy).
The source for this jar is attached; if I highlight one of its methods and press ctrl-B
to go to its declaration, IDEA goes there correctly.
I set a breakpoint within this method, on a statement I know is executing.
I turned off all stepping filters under Settings > Build, Execution Deployment > Debugger > Stepping.
Stepping into methods in the JCL, such as java.lang.String.append()
, works properly.
Stepping into this third party jar, however, will not work. Even Force Step Into does not work. The breakpoint within that code also doesn't work; the whole method is treated as a Step Over, which means I can't look at the exact point in the process I need to inspect.
What do I have to check to get this working? It's plausible that attaching the source would not necessarily enable debugging on that code, except that there is at least one other answer on another SO question that suggests that this should work. So does a Tip in IntelliJ's documentation on debugging.