-
Notifications
You must be signed in to change notification settings - Fork 1
Python adapter #1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR adds comprehensive support for the Debug Adapter Protocol (DAP) in the Python adapter by introducing numerous Java classes that represent DAP protocol messages, requests, responses, and events.
Key Changes:
- Implementation of DAP protocol message structures including requests, responses, and events
- Support for debugging operations such as stepping, breakpoints, stack traces, and variable inspection
- Addition of serialization/deserialization capabilities for DAP protocol communication
Reviewed changes
Copilot reviewed 299 out of 423 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| StepBackArgumentsClass.java | Arguments class for reverse debugging step back operations |
| StartMethod.java | Enum defining how debug sessions are initiated (attach/launch) |
| StartDebuggingResponseClass.java | Response structure for starting new debug sessions |
| StartDebuggingRequestCommand.java | Command enum for debug session start requests |
| StartDebuggingRequestClass.java | Request structure for initiating debug sessions |
| StartDebuggingRequestArgumentsClass.java | Arguments for starting debug sessions |
| StartDebuggingRequestArguments.java | Duplicate arguments class for starting debug sessions |
| StackTraceResponseClass.java | Response structure containing stack frame information |
| StackTraceResponseBody.java | Body content for stack trace responses |
| StackTraceRequestCommand.java | Command enum for stack trace requests |
| StackTraceRequestClass.java | Request structure for retrieving stack traces |
| StackTraceRequestArguments.java | Arguments for stack trace retrieval with filtering options |
| StackTraceArgumentsClass.java | Duplicate arguments class for stack traces |
| StackFramePresentationHint.java | Enum for UI presentation hints for stack frames |
| StackFrameFormat.java | Formatting options for stack frame display |
| StackFrame.java | Complete stack frame data structure with source location |
| SourceResponseClass.java | Response structure for source code content |
| SourceResponseBody.java | Body containing source code and MIME type |
| SourceRequestCommand.java | Command enum for source retrieval |
| SourceRequestClass.java | Request structure for source code retrieval |
| SourceRequestArguments.java | Arguments for source code requests |
| SourcePresentationHint.java | UI presentation hints for source files |
| SourceBreakpoint.java | Breakpoint properties including conditions and log points |
| SourceArgumentsClass.java | Duplicate arguments class for source requests |
| Source.java | Source file descriptor with location and metadata |
| SetVariable*.java (8 files) | Classes for modifying variable values during debugging |
| SetInstructionBreakpoints*.java (6 files) | Classes for instruction-level breakpoint management |
| SetFunctionBreakpoints*.java (6 files) | Classes for function breakpoint management |
| SetExpression*.java (6 files) | Classes for evaluating and assigning expressions |
| SetExceptionBreakpoints*.java (6 files) | Classes for exception breakpoint configuration |
| SetDataBreakpoints*.java (6 files) | Classes for data breakpoint management |
| SetBreakpoints*.java (6 files) | Classes for source breakpoint management |
| Scopes*.java (6 files) | Classes for retrieving variable scopes in stack frames |
| Scope.java | Scope definition with variable reference information |
| RunInTerminal*.java (6 files) | Classes for executing commands in terminal |
| ReverseContinue*.java (6 files) | Classes for reverse debugging continuation |
| Restart*.java (7 files) | Classes for session restart and frame restart operations |
| Response.java | Base response structure for DAP protocol |
| RequestEnum.java | Enum distinguishing launch vs attach requests |
| Request.java | Base request structure for DAP protocol |
| ReadMemory*.java (6 files) | Classes for reading debuggee memory |
| Progress*.java (9 files) | Classes for progress reporting during long operations |
| Process*.java (4 files) | Classes for process lifecycle events |
| Pause*.java (6 files) | Classes for pausing debuggee execution |
| Output*.java (4 files) | Classes for debuggee output events |
| Next*.java (6 files) | Classes for step-over operations |
| Modules*.java (8 files) | Classes for module/library information |
| ModuleIDUnion.java | Union type for module identifiers |
| Module*.java (4 files) | Classes for module metadata and events |
| Message.java | Structured error message format |
| LoadedSourcesResponseBody.java | Response body for loaded source files |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
No description provided.