npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@theia/cpp-debug

v1.27.0

Published

Theia - C/C++ Debug Extension

Downloads

479

Readme

cpp-debug

This extension contributes a set of widgets for viewing memory in different ways.

Requirements

This extension must be used in conjunction with a Debug Adapter that implements a ReadMemoryRequest handler or alternative custom request that returns memory data. It has been tested against the CDT-GDB Adapter used as the backend for the CDT-GDB VSCode plugin. This repository is configured to download that plugin as part of its build routine. If you intend to use this extension with a different debug adapter, you may need to implement a custom MemoryProvider to handle any peculiarities of the requests and responses used by your adapter.

The Widgets

Memory Widget

The basic MemoryWidget class is a wrapper around two functional widgets, a MemoryOptionsWidget and aMemoryTableWidget. The MemoryOptionsWidget is responsible for configuring the display and fetching memory, and the MemoryTableWidget renders the memory according to the options specified by the user in the MemoryOptionsWidget. The basic combination of these three classes offers variable highlighting, ascii display, and dynamic updating in response to events from the debug session, as well as the option to lock the view to ignore changes from the session.

Diff Widget

The MemoryDiffWidget is an elaboration of the MemoryWidget type that allows side-by-side comparison of the contents of two MemoryWidgets.

Register Widget

Although it is not supported by the cdt-gdb-vscode debug adapter, the Debug Adapter Protocol supports including registers as a scope inside the response to a variables request. The RegisterWidget offers functionality to view and manipulate those values when using a debug adapter that reports register contents.

Editable Widget

Another feature not presently available from cdt-gdb-vscode but proposed for the Debug Adapter Protocol and available for implementation as a custom request to a GDB backend is direct writing of memory by address. The MemoryEditableTableWidget adds UI functionality to allow users to modify values in the table display and send them to a backend that supports that operation.

Using the Widgets

The widgets are created by the MemoryWidgetManager, and modifying the createNewMemoryWidget() method of that service allows you to change what kind of widget is instantiated and under what circumstances. The widgets get memory through the MemoryProviderService, which delegates to implementations MemoryProvider interface that are bound as MemoryProvider contributions.