- Unreal Engine 4.x Scripting with C++ Cookbook
- John P. Doran William Sherif Stephen Whittle
- 126字
- 2025-02-28 12:28:31
How it works...
Debuggers are powerful tools that allow you to see everything about your code as it is running, including variable states.
Stepping over a line of code (F10) executes the line of code in its entirety, and then pauses the program again, immediately, at the next line. If the line of code is a function call, then the function is executed without pausing at the first line of code of the function call, as follows:
void f() { // F11 pauses here UE_LOG( LogTemp, Warning, TEXT( "Log message" ) ); } int main() { f(); // Breakpoint here: F10 runs and skips to next line }
Stepping into a line of code (F11) will pause execution at the very next line of code run.