57{
59
60
61
62
63 if (CommandTokens.size() != 1 && CommandTokens.size() != 2)
64 {
65 ShowMessages("incorrect use of the '%s'\n\n",
68 return;
69 }
70
71
72
73
75 {
76 ShowMessages("the instrumentation step-in is only supported in Debugger Mode\n");
77 return;
78 }
79
80
81
82
83 if (CommandTokens.size() == 2)
84 {
86 {
87 ShowMessages("please specify a correct hex value for [count]\n\n");
89 return;
90 }
91 }
92 else
93 {
94 StepCount = 1;
95 }
96
97
98
99
101 {
102
103
104
106
107 for (SIZE_T i = 0; i < StepCount; i++)
108 {
109
110
111
112
113
114
115
116
117
118
120
122 {
123
124
125
127
128 if (i != StepCount - 1)
129 {
130 ShowMessages("\n");
131 }
132 }
133
134
135
136
138 {
139 break;
140 }
141 }
142
143
144
145
147 }
148 else
149 {
150 ShowMessages("err, stepping (i) is not valid in the current context, you "
151 "should connect to a debuggee\n");
152 }
153}
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
VOID CommandIHelp()
help of the i command
Definition i.cpp:27
BOOLEAN HyperDbgRegisterShowAll()
handler of r show all registers
Definition r.cpp:354
BOOLEAN SteppingInstrumentationStepIn()
Perform Instrumentation Step-in.
Definition steppings.cpp:26