Enhancing Julia Debugging: Entry Points
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 25/100
Línea de trabajo
El issue no especifica archivos, tests ni un punto de entrada del código. Empieza por localizar el manejo de breakpoints del debugger en modo compilado y, después, define cómo los puntos de entrada designados manualmente deben activar el stepping automático hasta alcanzar un breakpoint rojo. Se considera terminado cuando el workflow de puntos de entrada propuesto está especificado y cubierto para los modos de debugging relevantes.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Debugging in Julia can be significantly enhanced, particularly in dealing with large codebases, through the introduction of entry points.
When debugging extensive Julia code, the compiled mode proves to be practically useful due to its speed and freedom from conflicts with libraries. In contrast, the non-compiled mode easily becomes impractical due to its slow performance or potential library conflicts.
However, a notable drawback of the compiled mode is that it ignores breakpoints within sub-functions. Consequently, users are required to manually navigate through the code until the relevant subfunction is reached.
When repeatedly debugging functions at a deep level, the current approach involves placing breakpoints at all calling functions, necessitating multiple manual step-ins and step-outs to reach the desired section of code. This significantly disrupts the debugging flow and makes it challenging to maintain focus on the specific problem at hand.
Consider this idea: instead of manually stepping in and out at every level, why not let the Julia Debugger handle it automatically? If, instead of setting red breakpoints at all calling functions, users could designate orange entrance points, the debugger could identify these entry points and execute step-ins and step-outs automatically until the first red breakpoint is encountered.
Introducing this feature would greatly enhance the debugging experience, providing a more streamlined and focused approach to identifying and resolving issues in the code.
Note: If you can create a function that can find the entry points on its own, we’ll have a debugger that’s as good as those in other languages, but with the speed of Julia! This would make Julia even more appealing. However, I see this as a second step. First, I strongly suggest to improve the efficiency by manually setting the entry points. Right now, debugging in Julia becomes difficult as the project gets bigger.
- Lenguaje dominante
- Julia
- Estrellas
- 515
- Forks
- 50
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de JuliaDebug/Debugger.jl
-
tagbot-manual
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
JuliaDebug/Debugger.jl#410 ·
-
Dificultad 4/5 3-5 días Aptitud para principiantes 48/100
JuliaDebug/Debugger.jl#423 · 1 comentario ·
-
Dificultad 3/5 1-2 días Aptitud para principiantes 45/100
JuliaDebug/Debugger.jl#422 ·
-
Dificultad 3/5 1-2 días Aptitud para principiantes 55/100
JuliaDebug/Debugger.jl#418 · 1 comentario ·
-
Syntax highlighting warningAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 55/100
JuliaDebug/Debugger.jl#417 · 1 comentario ·
Todos los issues de JuliaDebug/Debugger.jl
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
JuliaDebug/Cthulhu.jl#716 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
-
Review dependenciesAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
rafaqz/DimensionalData.jl#1253 ·
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100
osrep/Runes2P.jl#283 ·
Los mantenedores suelen responder en 1 día