Debugger shows class from wrong module

This is regarding Intellij IDEA 9.0.4
I have two classes with the same name and package. They exist in two different (unrelated) modules.
I debug an application and the stacktrace shows classes that are in a module not being used.
I am curious how Intellij IDEA decides which source to show. Why does it pick the wrong class? Is it random?
And is there any way to influence this?

1 comment
Comment actions Permalink

Hi Robert,

> And is there any way to influence this?

Yes, use IDEA 10. Some changes were added there to deal with exactly this case.

Regards,
  Eugene.

0

Please sign in to leave a comment.