Showing the changes to src/exec/debugger.cpp (1 of 11 files). Show all
Unified · Split
| @@ -798,6 +798,8 @@ namespace · 797 unmodified lines | ||
| 798 | 798 | |
| 799 | 799 | void prompt(debugger &debugger, const vm_registers_t &r) |
| 800 | 800 | { |
| 801 | + debugger.controller->suspend_all_threads(); | |
| 802 | + | |
| 801 | 803 | std::cout |
| 802 | 804 | << console_modifiers::green_font |
| 803 | 805 | << console_modifiers::bold |
| @@ -842,6 +844,8 @@ namespace · 38 unmodified lines | ||
| 842 | 844 | debug_print_error(e.what()); |
| 843 | 845 | } |
| 844 | 846 | } |
| 847 | + | |
| 848 | + debugger.controller->resume_all_threads(); | |
| 845 | 849 | } |
| 846 | 850 | } |
| 847 | 851 | |