break points in dependent modules

Hello,

I was wondering if there is some facility similar to what i can do in eclipse.

In eclipse it is possible to link projects (modules), which i might use for example when one project (module) uses another as a dependency, i make a change to the dependant project and want to check this doesnt break anything.

In eclipse if these projects are linked i can put breakpoints into the linked project and debug the other, this will hit the break points i put in the other project. Is this possible in intellij?

note: when i tried linking the projects as sources I hit this bug http://youtrack.jetbrains.net/issue/IDEA-55557

3 comments
Comment actions Permalink

Multiple projects in Eclipse correspond to multi-module projects in IntelliJ IDEA. Of course, you can run the code in one module and put breakpoints in another module that the first module depends on.

0
Comment actions Permalink

I have tried doing this but it fails to stop at the break point, Is there anything else i need to do to make a module 'aware' of the other module.

0
Comment actions Permalink

Make sure that the first module has a module dependency on the second module, and does not depend on it as a library (.jar file).

0

Please sign in to leave a comment.