I'm having a problems when I attach to a remote system. I'm having a hard time getting Intellij to match up my local sources, with the jars on the remote machine. All my breakpoints seem to work, but when I hit them, I get a funny icon next to them claiming it can't match the source. Then when I step, the step returns in the view of the .class file, instead of my .java file.
My project is a little complicated, in that it is an imported maven project, that has many modules. It seems like Intellij is able to match the source to some of the modules, but not all of them.
What lookup order does IntelliJ use to find sources for remote debugging? I couldn't find any way to associate the remote session with one of my modules, so my guess is that in it's source lookup, it comes across the class in a jar, before it comes across it in the source path for my module. Does this sound plausible? Is there a way to work around it? Is there some option I'm missed?