Skip to reading
Debugging and Performance Profiling

Debugging and performance profiling

Edition 0.86.4.5

New 0.86.4.5 field guide. Complements the existing Error Handling & Debugging manual. Benchmark and regression figures are worked examples from the guide, not general performance guarantees. Native GDScript line debugging and engine-level profiling use Godot tools.

Download PDFView illustrations
Start readingChoose what to record
On this page

RUNTIME PREVIEW / FIELD GUIDE

Follow one telephone input all the way to a game variable. Then use a separate, uninterrupted run to investigate a slow frame or a late cutscene gesture.

The Events tab in Studio. One action can produce several rows. The trace number links the related work.

Capture something you can recognize#

1. Open tests/fixtures/rotary-workbench.pca3d in Studio from the PCA3D source folder. For other projects you can follow the same steps with any GUI event that runs a visual script.

2. Open Output & Diagnostics → Debug & Profile. Choose Trace and press Start. Focus the phone in Runtime Preview, wind hole 1 to the finger stop and release.

Select Events, search for GUI.dialed and select a matching row. Look for the 3 phone element ID in the detail. Clear the search when you want to see the downstream graph.

Jump to a lesson#

02  Choose a capture mode                    08  Compare two runs
03  Test the ticket gate                     09  Inspect a GUI or resource
04  Follow an event trace                    10  Diagnose cutscene timing
05  Break and step                           11  Trace across script languages
06  Watch and edit values                    12  Export a local support report
07  Read a slow frame                        13  Troubleshoot a capture
Page 1 of 13Permalink
Go to page