Lando: I totally agree. Debugging is a thing that Nim doesn't support that well 
yet. But it is not without hope. I managed to get the GDB support a little bit 
better, by injecting a python script into the executable that gdb automatically 
detects. That python script is by far not complete, but it could help as a 
foundation when someone really wants to address this problem:

[https://github.com/krux02/opengl-sandbox/blob/master/includes/debug.nim](https://github.com/krux02/opengl-sandbox/blob/master/includes/debug.nim)
 
[https://github.com/krux02/opengl-sandbox/blob/master/nim-gdb.py](https://github.com/krux02/opengl-sandbox/blob/master/nim-gdb.py)

Unfortunately it is a platform specific solution, I don't know how to do 
something similar on Windows.

Reply via email to