| 515 | } |
| 516 | |
| 517 | int Debugger::run_step(char **aArgV, int aArgCount, char *aTransactionId, char *aCommandName, DebuggerInternalStateType aNewState) |
| 518 | { |
| 519 | if (aArgCount) |
| 520 | return DEBUGGER_E_INVALID_OPTIONS; |
| 521 | |
| 522 | if (mInternalState != DIS_Break) |
| 523 | return DEBUGGER_E_COMMAND_UNAVAIL; |
| 524 | |
| 525 | mInternalState = aNewState; |
| 526 | mContinuationDepth = mStack.Depth(); |
| 527 | mContinuationTransactionId = aTransactionId; |
| 528 | |
| 529 | // Response will be sent when the debugger breaks. |
| 530 | return DEBUGGER_E_CONTINUE; |
| 531 | } |
| 532 | |
| 533 | DEBUGGER_COMMAND(Debugger::_break) |
| 534 | { |