3 ms·
If Nim compiles down to C and then you compile/link that.. How in the hell do you debug that?
by Keyframe 11y ago
If Nim compiles down to C and then you compile/link that.. How in the hell do you debug that?
- Rusky 11y agoNim seems close enough to C that you should be able to use the #line directive to map lines of C to lines of Nim source, keep variable and type names the same, and just use gdb.
- def- 11y agoYep, that works well enough: http://hookrace.net/blog/what-makes-nim-practical/#debugging-nim http://hookrace.net/blog/what-makes-nim-practical/#debugging...