Function breakpoint matching requires unintuitive wildcard
- Lenguaje dominante
- Rust
- Estrellas
- 1
- Forks
- 8
- Merge medio
- 2 d 13 h
- PR fusionados (30 d)
- 16
Descripción
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.
Guía de contribución
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- rust
- Área
- cli, devtools
- Tipo de issue
- Nueva funcionalidad
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Estado de actividad
- Tranquilo
- Claridad
- Bien especificado
- Aptitud para principiantes
- 65/100