Commit 82a8afd
authored
Send checkpoints when stepping or pausing in trace mode (#352)
* Also send checkpoints when stepping or pausing in trace mode
This works better for debuggers such as MIO which expect information about the current program counter/program state while stepping.
* Reset instruction counter upon reset
This ensures the debugger never reports executing more instructions than it actually did when resetting.1 parent 289a289 commit 82a8afd
2 files changed
Lines changed: 13 additions & 16 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1024 | 1024 | | |
1025 | 1025 | | |
1026 | 1026 | | |
1027 | | - | |
| 1027 | + | |
| 1028 | + | |
| 1029 | + | |
| 1030 | + | |
| 1031 | + | |
| 1032 | + | |
| 1033 | + | |
| 1034 | + | |
| 1035 | + | |
| 1036 | + | |
1028 | 1037 | | |
1029 | 1038 | | |
1030 | 1039 | | |
| |||
1046 | 1055 | | |
1047 | 1056 | | |
1048 | 1057 | | |
1049 | | - | |
1050 | | - | |
1051 | | - | |
1052 | | - | |
1053 | | - | |
1054 | | - | |
1055 | | - | |
1056 | | - | |
1057 | | - | |
1058 | | - | |
1059 | | - | |
1060 | | - | |
1061 | | - | |
1062 | 1058 | | |
1063 | 1059 | | |
1064 | 1060 | | |
| |||
1614 | 1610 | | |
1615 | 1611 | | |
1616 | 1612 | | |
1617 | | - | |
| 1613 | + | |
1618 | 1614 | | |
1619 | 1615 | | |
1620 | 1616 | | |
| 1617 | + | |
1621 | 1618 | | |
1622 | 1619 | | |
1623 | 1620 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
201 | 201 | | |
202 | 202 | | |
203 | 203 | | |
204 | | - | |
| 204 | + | |
205 | 205 | | |
206 | 206 | | |
207 | 207 | | |
| |||
0 commit comments