How to use VS's breakpoints to see how many frames are between two pieces of code

How to use breakpoints to see how many frames are between two pieces of code

One time, I wanted to make a prompt window for joining a room. At first, I displayed a pop-up window when I clicked on the room, and closed the display in a callback when the room was added. It seemed reasonable, but the pop-up window was not actually displayed.
Later, a big guy taught a method. Check Actions on the breakpoint of VS, and you can print a series of custom messages in the Output window every time the breakpoint is triggered. If you use such a breakpoint in the Tick (Update) of the game project, check Continue code execution so that it will not pause even if it runs to the breakpoint. You can tell how many ticks are executed between two pieces of code.
insert image description here
I'm sorry, I can only use someone else's network map.


Guess you like

Origin blog.csdn.net/qq_37856544/article/details/122478806