Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Feature Request: Add `get_unbound_breakpoints` tool

Aperta
#73 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
68/100
Tipo di issue
Funzionalità
Chiarezza
Specificata chiaramente
Stato di attività
Tranquilla
Stack tecnologico
typescript, vscode
Ambito
devtools

Direzione di ricerca

Inizia individuando gli strumenti MCP esistenti add_breakpoint e list_breakpoints, quindi esamina come accedono a vscode.debug.breakpoints. Aggiungi lo strumento senza parametri get_unbound_breakpoints e verifica che restituisca le informazioni sul file e sulla riga per i breakpoint con verified === false, un array vuoto quando non ci sono breakpoint non verificati e che funzioni senza una sessione di debug attiva.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Summary

Add a new MCP tool called get_unbound_breakpoints that returns all breakpoints currently set but not verified (i.e., not successfully bound to an executable line) by the debug adapter.

Problem

DebugMCP's existing add_breakpoint tool gives no feedback on whether a breakpoint actually bound successfully. If the lineContent parameter doesn't match the file exactly (see #18), or the file isn't loaded yet, the breakpoint is silently registered but never verified. The existing list_breakpoints tool lists all breakpoints without distinguishing between verified and unverified ones, leaving the agent with no way to detect or diagnose the failure.

This means an agent can confidently believe it has set a breakpoint, proceed to run the program, and never understand why execution never paused.

Proposed Solution

Add a get_unbound_breakpoints tool that queries VS Code's vscode.debug.breakpoints collection and filters for breakpoints where verified === false.

Requirements:

  • No parameters required
  • Should work at any point during a debug session
  • Returns an array of unverified breakpoints with file and line information
  • Returns an empty array (not an error) if all breakpoints are verified
Lingua principale
TypeScript
Stelle
539
Fork
61
Merge medio
1g 9h
PR unite (30g)
18

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di microsoft/DebugMCP

Tutte le issue di microsoft/DebugMCP

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.