Context
I'm using Intellij IDEA CE and I'm modding a game, The game loads *.jar files (mods) into its classpath. By naming a class in your mod the same as a game source class, you can overwrite it. This way it's possible to replace vanilla game code. I guess Minecraft does something similar. I'm using a special DEBUG.run.xml config to run the game in debug mode. There I'm providing my mod *.jar files and some the game needs to function.
Problem
When debugging my replaced code by placing a break point in it, the debugger will jump to the original vanilla game source code instead of my replaced one.
I can see variables in the debugger, which are only present in my replaced code. The IDE just sends me to the wrong place.
Is there a way to tell the debugger my source is the truth?