-
Notifications
You must be signed in to change notification settings - Fork 281
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
implement inlined method handling and improve stepping
- Loading branch information
1 parent
6095137
commit ce695e7
Showing
11 changed files
with
612 additions
and
157 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
/*--------------------------------------------------------- | ||
* Copyright (C) Microsoft Corporation. All rights reserved. | ||
*--------------------------------------------------------*/ | ||
|
||
import Cdp from '../cdp/api'; | ||
import { IPossibleBreakLocation } from './breakpoints'; | ||
import { StackTrace } from './stackTrace'; | ||
import { Thread } from './threads'; | ||
|
||
export type PausedReason = | ||
| 'step' | ||
| 'breakpoint' | ||
| 'exception' | ||
| 'pause' | ||
| 'entry' | ||
| 'goto' | ||
| 'function breakpoint' | ||
| 'data breakpoint' | ||
| 'frame_entry'; | ||
|
||
export const enum StepDirection { | ||
In, | ||
Over, | ||
Out, | ||
} | ||
|
||
export type ExpectedPauseReason = | ||
| { reason: Exclude<PausedReason, 'step'>; description?: string } | ||
| { reason: 'step'; description?: string; direction: StepDirection }; | ||
|
||
export interface IPausedDetails { | ||
thread: Thread; | ||
reason: PausedReason; | ||
event: Cdp.Debugger.PausedEvent; | ||
description: string; | ||
stackTrace: StackTrace; | ||
stepInTargets?: IPossibleBreakLocation[]; | ||
hitBreakpoints?: string[]; | ||
text?: string; | ||
exception?: Cdp.Runtime.RemoteObject; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.