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 | void prompt(debugger &debugger, const vm_registers_t &r) | 799 | void prompt(debugger &debugger, const vm_registers_t &r) |
| 800 | { | 800 | { |
| 801 | debugger.controller->suspend_all_threads(); | ||
| 802 | |||
| 801 | std::cout | 803 | std::cout |
| 802 | << console_modifiers::green_font | 804 | << console_modifiers::green_font |
| 803 | << console_modifiers::bold | 805 | << console_modifiers::bold |
| @@ -842,6 +844,8 @@ namespace · 38 unmodified lines | |||
| 842 | debug_print_error(e.what()); | 844 | debug_print_error(e.what()); |
| 843 | } | 845 | } |
| 844 | } | 846 | } |
| 847 | |||
| 848 | debugger.controller->resume_all_threads(); | ||
| 845 | } | 849 | } |
| 846 | } | 850 | } |
| 847 | 851 | ||