Skip to content

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rocgdb DAP (VS Code Debugger)

This repository contains a VS Code Debug Adapter Protocol (DAP) debugger for ROCm rocgdb.

Status

This is currently an early scaffold:

  • Starts a DAP adapter (type: rocgdb) implemented in Node.js
  • Spawns rocgdb --interpreter=mi2
  • Intended to grow into full debugging support (breakpoints/threads/stack/variables) and AMDGPU-specific helpers (waves/lanes/registers/LDS/global memory)

Requirements

  • VS Code >= 1.85
  • ROCm rocgdb at /opt/rocm/bin/rocgdb (configurable via rocgdbPath)
  • Node.js available on the remote/host where the extension runs (for the adapter)

Build

npm install
npm run build

Example launch.json

{
  "version": "0.2.0",
  "configurations": [
    {
      "type": "rocgdb",
      "request": "launch",
      "name": "rocgdb: Launch",
      "program": "${workspaceFolder}/a.out",
      "args": [],
      "cwd": "${workspaceFolder}",
      "rocgdbPath": "/opt/rocm/bin/rocgdb",
      "rocgdbArgs": [],
      "stopOnEntry": false
    }
  ]
}

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages