Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Debugger reports wrong error line #20820

Closed
KoBeWi opened this issue Aug 8, 2018 · 3 comments
Closed

Debugger reports wrong error line #20820

KoBeWi opened this issue Aug 8, 2018 · 3 comments

Comments

@KoBeWi
Copy link
Member

KoBeWi commented Aug 8, 2018

Godot version:
3.0/3.1-dev

Issue description:
Godot sometimes highlights wrong line when error happens. It's always the previous non-empty line and probably has something to do with inline code blocks (e.g. single-line if with statement).
image
That's the isolated case I managed to reproduce the issue, but it might appear on other occasions too. Maybe.

In the given example, if you put any non-empty line (like another print etc.) between the if line and error line, debugger will show it correctly.
image

Minimal reproduction project:
TestProject.zip

@rogeriodec
Copy link

Same here (3.2 dev, Windows 10 x64 / NVIDIA GeForce GTX 1060 6GB / Intel Core i7 4790K):

image

@akien-mga
Copy link
Member

Still reproducible in the current master branch (41c8ec9).

@akien-mga akien-mga modified the milestones: 3.2, 4.0 Jan 8, 2020
@KoBeWi
Copy link
Member Author

KoBeWi commented Dec 9, 2020

Fixed in 4.0-dev

@KoBeWi KoBeWi closed this as completed Dec 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants