-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
866d068
commit fe7ae6d
Showing
22 changed files
with
795 additions
and
40 deletions.
There are no files selected for viewing
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,45 @@ | ||
/******************************************************************************** | ||
* Copyright (C) 2024 EclipseSource. | ||
* | ||
* This program and the accompanying materials are made available under the | ||
* terms of the Eclipse Public License v. 2.0 which is available at | ||
* http://www.eclipse.org/legal/epl-2.0. | ||
* | ||
* This Source Code may also be made available under the following Secondary | ||
* Licenses when the conditions for such availability set forth in the Eclipse | ||
* Public License v. 2.0 are satisfied: GNU General Public License, version 2 | ||
* with the GNU Classpath Exception which is available at | ||
* https://www.gnu.org/software/classpath/license.html. | ||
* | ||
* SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 | ||
********************************************************************************/ | ||
|
||
import { DebugProtocol } from '@vscode/debugprotocol'; | ||
import { DebugRequestTypes } from './debug-requests'; | ||
|
||
export interface TrackedDataBreakpoint { | ||
type: TrackedBreakpointType; | ||
breakpoint: DebugProtocol.DataBreakpoint; | ||
/** | ||
* The respective response for the breakpoint. | ||
*/ | ||
response: DebugProtocol.SetDataBreakpointsResponse['body']['breakpoints'][0] | ||
} | ||
|
||
export interface TrackedDataBreakpoints { | ||
/** | ||
* Breakpoints set from external contributors. | ||
*/ | ||
external: TrackedDataBreakpoint[], | ||
/** | ||
* Breakpoints set from us. | ||
*/ | ||
internal: TrackedDataBreakpoint[] | ||
} | ||
|
||
export type TrackedBreakpointType = 'internal' | 'external'; | ||
|
||
export type DataBreakpointInfoArguments = DebugRequestTypes['dataBreakpointInfo'][0]; | ||
export type DataBreakpointInfoResult = DebugRequestTypes['dataBreakpointInfo'][1]; | ||
export type SetDataBreakpointsArguments = DebugRequestTypes['setDataBreakpoints'][0]; | ||
export type SetDataBreakpointsResult = DebugRequestTypes['setDataBreakpoints'][1]; |
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
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
Oops, something went wrong.