Home > Mobile >  IntelliJ debugger shows incorrect line number in call stack
IntelliJ debugger shows incorrect line number in call stack

Time:11-02

I am using IntelliJ IDEA to debug Java code. The code line number is 225, but the call stack shows 293.

How to fix this?enter image description here

CodePudding user response:

This problem usually happens when the latest build is out of sync with the source code. This can happen if you had changed the source code without rebuilding before you started debugging. In that case, the line numbers may have changed.

To fix this, try doing a full clean and rebuild before you debug.

CodePudding user response:

Try recompiling or rebuilding before running the code again!

  • Related