Function breakpoint matching requires unintuitive wildcard
- Lingua principale
- Rust
- Stelle
- 1
- Fork
- 8
- Merge medio
- 2g 13h
- PR unite (30g)
- 16
Descrizione
Dealing with breakpoints should be improved. Currently:
- `break in entrypoint` does not work.
- `break in *entrypoint` works because real name is namespaced:
```
::"root_ns:root@1.0.0"::fibonacci::entrypoint
```
- Expected: unqualified function names should match suffixes by default.
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Look at the breakpoint command parsing and matching logic in the debugger's source code, likely in a module handling commands or breakpoints. The function names are fully qualified with namespaces like `::"root_ns:root@1.0.0"::fibonacci::entrypoint`. The fix involves adjusting the matching logic to allow unqualified function names (like `entrypoint`) to match suffixes of the fully qualified name. Start by finding where breakpoints are set and matched, then modify the matching algorithm. Test by setting a breakpoint with `break in entrypoint` on a sample program.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- rust
- Ambito
- cli, devtools
- Tipo di issue
- Funzionalità
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Tranquilla
- Chiarezza
- Specificata chiaramente
- Idoneità per principianti
- 65/100