54{
56
57
58
59
60 if (CommandTokens.size() != 1 && CommandTokens.size() != 2)
61 {
62 ShowMessages("incorrect use of the '%s'\n\n",
65 return;
66 }
67
68
69
70
71 if (CommandTokens.size() == 2)
72 {
74 {
75 ShowMessages("please specify a correct hex value for [count]\n\n");
77 return;
78 }
79 }
80 else
81 {
82 StepCount = 1;
83 }
84
85
86
87
89 {
90
91
92
94 {
95 ShowMessages("the target process is running, use the "
96 "'pause' command to pause the process\n");
97 return;
98 }
99
100
101
102
104
105 for (SIZE_T i = 0; i < StepCount; i++)
106 {
107
108
109
110
111
112
113
114
115
116
118
120 {
121
122
123
125
126 if (i != StepCount - 1)
127 {
128 ShowMessages("\n");
129 }
130 }
131
132
133
134
136 {
137 break;
138 }
139 }
140
141
142
143
145 }
146 else
147 {
148 ShowMessages("err, stepping (t) is not valid in the current context, you "
149 "should connect to a debuggee\n");
150 }
151}
BOOLEAN g_IsSerialConnectedToRemoteDebuggee
Shows if the debugger was connected to remote debuggee over (A remote guest).
Definition globals.h:253
ACTIVE_DEBUGGING_PROCESS g_ActiveProcessDebuggingState
State of active debugging thread.
Definition globals.h:372
std::string GetCaseSensitiveStringFromCommandToken(CommandToken TargetToken)
Get case sensitive string from command token.
Definition common.cpp:467
BOOLEAN CompareLowerCaseStrings(CommandToken TargetToken, const CHAR *StringToCompare)
Compare lower case strings.
Definition common.cpp:503
BOOLEAN ConvertTokenToUInt32(CommandToken TargetToken, PUINT32 Result)
check and convert command token to a 32 bit unsigned integer
Definition common.cpp:546
BOOLEAN g_IsInstrumentingInstructions
Shows whether the user is running 't', 'p', or 'i' command.
Definition globals.h:571
BOOLEAN HyperDbgRegisterShowAll()
handler of r show all registers
Definition r.cpp:354
BOOLEAN SteppingRegularStepIn()
Perform Regular Step-in.
Definition steppings.cpp:80
VOID CommandTHelp()
help of the t command
Definition t.cpp:27