Hi all
I am learning Nim and looking to debug "seriously", i.e. out of echo and potentially considering threads.
Nim 0.16 ZIP release
I found a quite good MinGW implementation that is updated on a regular basis: https://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win64/Personal%20Builds/mingw-builds/6.3.0/threads-posix/seh/
Nim extension: https://marketplace.visualstudio.com/items?itemName=kosz78.nim
Native Debug: https://marketplace.visualstudio.com/items?itemName=webfreak.debug
I tried the following approaches: https://hookrace.net/blog/what-makes-nim-practical/#debugging-nim and https://forum.nim-lang.org/t/2061/2
Using internal debugger (ENB) or regular GDB approach gives me plenty of pain: in both cases the debugger cannot refer to the right line in the code, that makes the debugging impossible. Also the names of the local variables are quite complicated to recognize / understand (sometimes I can guess)
Any experience to share?