-
Notifications
You must be signed in to change notification settings - Fork 152
Open
Labels
feature-requestRequest for new features or functionalityRequest for new features or functionality
Milestone
Description
The DAP currently has support for three types of additions to breakpoints including conditions, hit count, and log messages.
interface SourceBreakpoint {
line: number;
column?: number;
condition?: string;
hitCondition?: string;
logMessage?: string;
}
It would be nice if a user could attach commands to be automatically executed when a breakpoint is hit. This would be useful for some debuggers that have an extensive list of debugger commands that are more powerful than simply evaluating an expression such as GDB or LLDB.
The addition to SourceBreakpoint could be:
/**
* An optional list of commands that the backend will execute and log the output
* (if any).
*/
commands?: string[];
I know of at least 2 IDEs (IntelliJ and Xcode) that have support for executing any arbitrary debugger command(s) when a breakpoint is hit.
ashgti, d4rk and vogelsgesang
Metadata
Metadata
Assignees
Labels
feature-requestRequest for new features or functionalityRequest for new features or functionality