Skip to content

An extension for VSCode to make it easier to copy the relative file path and line number(s) to clipboard

Notifications You must be signed in to change notification settings

J-jaeyoung/vscode-gdb-helper

 
 

Repository files navigation

GDB Helper

This VS Code extension is random helper commands to enhance gdb debugging experience.

How to Use

  1. Place your cursor on the line you want to copy.

  2. Press Alt+L (Windows/Linux) or run the command Copy Relative Path and Line Numbers for Breakpoint Location from the Command Palette (F1 or Ctrl+Shift+P).

  3. The following format will be copied to your clipboard:

    - "b relative/path/to/file:lineNumber"
    

    Example:

    - "b src/main.cpp:42"
    

About

An extension for VSCode to make it easier to copy the relative file path and line number(s) to clipboard

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 98.3%
  • Shell 1.7%