| 223 | m_breakpoints.push_back(Breakpoint(line, condition)); |
| 224 | } |
| 225 | void ShaderDebugger::ClearBreakpoint(int line) |
| 226 | { |
| 227 | for (int i = 0; i < m_breakpoints.size(); i++) { |
| 228 | if (m_breakpoints[i].Line == line) { |
| 229 | m_breakpoints.erase(m_breakpoints.begin() + i); |
| 230 | i--; |
| 231 | } |
| 232 | } |
| 233 | } |
| 234 | bool ShaderDebugger::Step() |
| 235 | { |
| 236 | bool done = bv_function_stepper_is_done(m_stepper); |