well, I once did an approach to this, feel free to use it.

This macro embeds the gdb python script into the executable, when it is build 
on Linux. Alternatively you can also load the script from gdb, but once this 
works there is no hassle involved anymore. 
[https://github.com/krux02/opengl-sandbox/blob/master/fancyglpkg/debug.nim](https://github.com/krux02/opengl-sandbox/blob/master/fancyglpkg/debug.nim)

Here is the gdb script, but I haven't used it for a time. 
[https://github.com/krux02/opengl-sandbox/blob/master/fancyglpkg/nim-gdb.py](https://github.com/krux02/opengl-sandbox/blob/master/fancyglpkg/nim-gdb.py)

Reply via email to