HOWTO DEBUG WITH INTELLIJ A JAR FILE WITH SOURCE

Hi all,

i have a main project which load modules this modules are jar files so i like to debug one of this module.

i set a breakpoint into the source code of jar file but the debugger don't stop.

so how to debug a jar file? (I have tried the remote debugging with the same result )

Im new with intellij with eclipse you see all my project in one window in intelllij i must open two.

regards

1 comment
Comment actions Permalink

OK I have found the solution..

Left click the main project -- > Project Settings --> Modules --> Sources

In the Tab source "Add Content Root" and i insert the source code of my jar module.
than i have open the class in the main project window and inserted the breakpoint now the debugger stop. :)

NICE IDE

regards...

3

Please sign in to leave a comment.