[Godot 4.4] Is there some kind of line-by-line/step-through debugger?

Does Godot have a step-through debugger where I can start the game but then manually step through each line of code in the script, or pause on manually placed ‘stop points’ in the code, ala Visual Basic?

Oh wait I think I found it. Seemingly you can place breakpoints:

image

…then you can step through the code line by line thereafter:

image

Just a minor question then: I can get the debugger from the start by placing a breakpoint at the start of func _ready(), but is there a way to just start the game into the debugger without triggering it like that?

1 Like

I don’t think so (could be wrong), but I just read this morning that you can also write a breakpoint statement into your script. That works like any other statement, so you could wire it up to conditions, button presses, whatever you want =)

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.