MCPcopy Create free account
hub / github.com/dfranx/ShaderDebugger / Step

Method Step

src/ShaderDebugger.cpp:234–252  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

232 }
233 }
234 bool ShaderDebugger::Step()
235 {
236 bool done = bv_function_stepper_is_done(m_stepper);
237 if (!done) {
238 int curLine = m_prog->current_line;
239 bool tempDone = done;
240
241 SetDiscarded(false);
242
243 while (curLine == m_prog->current_line && !tempDone) {
244 bv_function_step(m_stepper);
245 tempDone = bv_function_stepper_is_done(m_stepper);
246 }
247
248 done = tempDone;
249 }
250
251 return !done;
252 }
253 bool ShaderDebugger::StepOver()
254 {
255 std::vector<std::string> fstack = GetFunctionStack(), updatedFStack;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected