Hello,

I'm trying to get debugging set up for Nim in VS Code. I'm using this VS Code 
extension: 
<https://marketplace.visualstudio.com/items?itemName=nimsaem.nimvscode> and I 
followed the instructions listed on that page, except for installing lldb 
(since gdb seems to be already installed and it looks like CodeLLDB supports 
gdb). Debugging seems to be sort of working, but the variables listed in the 
debugging window are mangled somewhat - e.g. the listing for a variable named 
"idx" is listed as "idx__d4948p49_25" and is in the "static variables" section 
despite being a local. Breakpoints might also be broken, I can't quite tell.

I can post more details if needed, but is this a known issue with gdb v.s lldb, 
or that Nim extension, or something along those lines? I can try to install 
lldb and give that a shot, but it seems to be complicated since I'm on Windows, 
and googling around I didn't really get the sense that it would improve 
anything.

Reply via email to