Socket
Book a DemoInstallSign in
Socket

cdt-amalgamator

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cdt-amalgamator

Amalgamator Debug Adapter from Eclipse CDT

0.0.11
latest
npmnpm
Version published
Weekly downloads
32
190.91%
Maintainers
1
Weekly downloads
 
Created
Source

Eclipse CDT Debug Adapter Amalgamator

This is a debug adapter that allows common control over multiple debug adapters simulataneously, amalgamating their outputs to provide to VSCode a single Debug Adapter interface.

Using the Amalgamator

The amalgamator is not published and can be run within a VS Code debug session.

  • Checkout this repository
  • Checkout https://github.com/eclipse-cdt/cdt-gdb-vscode
  • Add both repositories to a new VSCode workspace
  • Build both repositories (yarn && yarn build)
  • Build the sample application (make -C sampleWorkspace)
  • Launch the Extension launch configuration from .vscode/launch.json
  • Place a breakpoint on empty1.c and empty2.c
    • These two files represent the two processes in a multi-process debug session
  • Update the paths to cdt-gdb-adapter/dist/debugAdapter.js in the sample workspace's launch.json
  • In the Extension Development Host launch the Amalgamator Example
  • Debug the two processes, e.g.
    • step the processes indpe
    • observe variables in different processes
    • examine memory with the memory browser (Ctrl+Shift-P -> GDB: Open Memory Browser)

FAQs

Package last updated on 02 Jun 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.