Home > Net > Come on, let look at all like what position.
Come on, let look at all like what position.
Time:10-21
About how to efficient debug, there are two questions want to consult everybody, 1. When debugging code left hand press keyboard F10 or F11, right hand mouse, is a high efficient posture, bosses are how to debug, 2. Step, want to go to have a look at a variable under other classes, but when I come back again for half a day, how to face this situation?
CodePudding user response:
1 there is nothing wrong with this, I have been this pose, 2 this, I usually use monitoring and real-time output,
CodePudding user response:
Basic step is not tracking, the code is now separated,
You are debugging your things, single step, consider when multithreaded, when injection, when an asynchronous, when the reflection, when a message, when the response, this sort of thing is routine programming method, single step has no meaning,
So, upstairs said monitoring, trace this class is the important method, single step can only be local, debugging breakpoints have entered the local later, see if local execution sequence logical to use the
Want to go to have a look at a variable under other classes, Ctrl +, but doesn't make sense, we are only focusing on debugging to debug, within the scope of the execution, is the scope of the context, this context is either global, or is passed, so it is very rare basic leap to see what other classes
CodePudding user response:
On your second question, you said you can use a bookmark (bookmarks)
CodePudding user response:
Press the mouse button left foot and right hand, efficient not
CodePudding user response:
F12 turn to define, CTRL + - return on step is your second question
CodePudding user response:
First of all, to have such a dress
CodePudding user response:
CTRL + - navigate back you're worth it
CodePudding user response:
The right mouse button control breakpoints, vs toolbar directly "to" the next step, the left hand basic CTRL + c and CTRL + v