2
0
Эх сурвалжийг харах

Document profiler autostart functionality

Hugo Locurcio 10 сар өмнө
parent
commit
be34108636

+ 6 - 0
tutorials/scripting/debug/debugger_panel.rst

@@ -88,6 +88,12 @@ tab within the Debugger bottom panel, then click **Start**:
 
    Visual Profiler tab after clicking **Start**, waiting for a few seconds, then clicking **Stop**
 
+.. tip::
+
+    You can also check **Autostart**, which will make the visual profiler automatically
+    start when the project is run the next time. Note that the **Autostart**
+    checkbox's state is not preserved across editor sessions.
+
 You will see categories and results appearing as the profiler is running. Graph
 lines also appear, with the left side being a CPU framegraph and the right side
 being a GPU framegraph.

+ 4 - 1
tutorials/scripting/debug/the_profiler.rst

@@ -27,7 +27,10 @@ performance-intensive. It has to continually measure everything happening in the
 game and report back to the debugger, so it's off by default.
 
 To begin profiling, run your game then focus back on the editor. Click on the
-**Start** button in the top-left corner of the **Profiler** tab.
+**Start** button in the top-left corner of the **Profiler** tab. You can also
+check **Autostart**, which will make the profiler automatically start when the
+project is run the next time. Note that the **Autostart** checkbox's state is not
+preserved across editor sessions.
 
 .. note::