Replies: 1 comment
-
The code in the debugpy.adapter is the part that speaks DAP with VS code. For example, this is where we handle the initialize request: debugpy/src/debugpy/adapter/clients.py Line 148 in 3573ca0 Handling DAP is basically just listening to the messages and translating that into different things in the debugger. For example, this is where a thread suspend event is sent (like when hitting a breakpoint): Debugpy would then forward that message onto VS code. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I would like to investigate getting the Trepan debuggers , and more specifically trepan3k speaking DAP.
I would appreciate suggestions for learning how to write a DAP adapter for trepan3k and how to approach getting this done in an easy, incremental path. (Of course, I've started looking at the Wiki)
Looking at the code, I see lots of sophisticated stuff, like the language for testing which accommodates variations that happen normally in responses.
Thanks.
I might be in the wrong place here since this seems to be client code and I want to create a DAP-enabled Python server attached to trepan3k?
Beta Was this translation helpful? Give feedback.
All reactions