Skip to content
/ wxdap Public

gdb server using the DAP protocol (Debug Adapter Protocol)

License

Notifications You must be signed in to change notification settings

eranif/wxdap

Repository files navigation

Mac-OS-badge Unix-badge windows-badge

wxdap

Provide a wxWidgets library for implementing DAP (Debug Adapter Protocol) clients

Implemented

Requests

Mandatory requests

  • Connect
  • Initialize
  • Launch - This launch request is sent from the client to the debug adapter to start the debuggee
  • SetBreakpointsFile - Sets multiple breakpoints for a single source and clears all previous breakpoints in that source
  • Threads - The request retrieves a list of all threads.
  • Scopes - The request returns the variable scopes for a given stackframe ID (this does not return the variables themselves, but only their groups, like "Locals", "Registers" etc)
  • GetFrames - return list of frames for a given thread ID
  • Continue - continue the execution
  • Next - executes one step for the specified thread (with custom granularity: line/statement/instruction)
  • StepIn - resumes the given thread to step into a function/method and allows all other threads to run freely by resuming them
  • StepOut - The request resumes the given thread to step out (return) from a function/method and allows all other threads to run freely by resuming them
  • Pause - pause the debugger execution
  • BreakpointLocations - returns all possible locations for source breakpoints in a given range
  • SetFunctionBreakpoints - Replaces all existing function breakpoints with new function breakpoints
  • Variables - return list of variables
  • EvaluateExpression - asks the debugger to evaluate an expression

Lower priority requests

  • NextInstruction - executes one instruction for the specified thread
  • Goto - sets the location where the debuggee will continue to run. his makes it possible to skip the execution of code or to execute code again
  • ReadMemory - Reads bytes from memory at the provided location
  • Disassemble - Disassembles code stored at the provided location

Events

  • Stopped - the execution stopped due to ... (breakpoint hit, exception, step etc)
  • Terminated - the debugging session terminated
  • Exited - the debuggee process exited
  • Initialized - dap server is initialized
  • Process - the debuggee process started
  • Output - The event indicates that the target has produced some output
  • Continued - The debugger continued
  • Breakpoint - a breakpoint state changed

About

gdb server using the DAP protocol (Debug Adapter Protocol)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published