Project X has modules Y,Z
Module Y depends on a jarred version of Z
Now, I have a test case for a class WW belonging to Z, and the test case is in Z too. When I debug the test case, I put a breakpoint just before a method call on WW. At that point, if I:
- CTRL-B : IDEA jumps into the source code
- F7 (step into): IDEA jumps into the compiled WW.class which, apparently, it finds in the jarred Z that Y has in its libraries.
Isn't that odd? Why does it even search outside module Z? Both WW and TestWW are in the same module, there is no reason to search outside... What could cause this? Any idea how I could solve this?