Jump to content
Sign in to follow this  

Desynchronization issue between code and debugger line numbers

Recommended Posts

For reasons I don't understand, the issue in the screenshot occasionally shows up.


Then, when an exception is raised or when I place breakpoints, it causes them to trigger/show on the wrong line of code.


Any idea how to resolve this issue?



Share this post

Link to post

Check the linefeeds of your source file.

When you have a mix-up of CR and/or LF this might happen.

Also errors when compiling show on the wrong line number and other spooky stuff...

  • Like 1

Share this post

Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this