Feature idea - click on Output messages to jump to the code that produced them

Godot Version

4.5

Question

In the same way that you can click on debugger errors to jump to the line of code that caused the error it would be very helpful to me if I could click on a printed message in the Output panel and jump to the line of code that generated that message.

You can already do almost the same with the print_debug() function

It will give you a trace of where the print came from, down to a line number, like so:

Test print
At: res://test.gd:15:_process()

You are not able to click on it, but that seems to be a minor inconvenience.

3 Likes

I think godot already have it in the 4.6 or so

There is this PR

Coming with 4.6 dev 2

But it only says about the errors and warnings.

1 Like

That’s already out. We are currently on 4.6-dev4 as of this week.

2 Likes

I know, but it still doesn’t provide the feature OP requested. At least it doesn’t seem like it. I haven’t tested it yet myself.

1 Like