mirror of
https://github.com/SpaceManiac/SpacemanDMM.git
synced 2025-12-23 05:36:47 +00:00
Distinguish between Pause and Step Into
This commit is contained in:
parent
cef54e1c32
commit
b4594c2f4b
2 changed files with 10 additions and 0 deletions
|
|
@ -487,6 +487,14 @@ handle_extools! {
|
|||
});
|
||||
}
|
||||
}
|
||||
BreakpointHitReason::Pause => {
|
||||
self.seq.issue_event(dap_types::StoppedEvent {
|
||||
reason: dap_types::StoppedEvent::REASON_PAUSE.to_owned(),
|
||||
description: Some("Paused by request".to_owned()),
|
||||
threadId: Some(0),
|
||||
.. Default::default()
|
||||
})
|
||||
}
|
||||
_ => {
|
||||
debug_output!(in self.seq, "[extools] {}#{}@{} hit", hit.proc, hit.override_id, hit.offset);
|
||||
self.seq.issue_event(dap_types::StoppedEvent {
|
||||
|
|
|
|||
|
|
@ -424,6 +424,8 @@ pub enum BreakpointHitReason {
|
|||
BreakpointOpcode,
|
||||
#[serde(rename = "step")]
|
||||
Step,
|
||||
#[serde(rename = "pause")]
|
||||
Pause,
|
||||
#[serde(other)]
|
||||
Unknown,
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue