| 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; |
nothing calls this directly
no outgoing calls
no test coverage detected