-
Notifications
You must be signed in to change notification settings - Fork 94
Nim and Seer
Nim is a statically typed compiled systems programming language. It combines successful concepts from mature languages like Python, Ada and Modula.
You can learn about it at this site: https://nim-lang.org/
The gdb debugger supports debugging many languages. Seer can work happily debug Nim programs because of this. This Wiki describes how to setup Seer to work with Nim.
Here's a screenshot of Seer debugging a simple Nim program.
A couple things are needed to setup Seer to properly debug Nim programs.
Start Seer for the first time to bring up it's configuration dialog
$ seergdb --config
First, tell Seer to use the nim-gdb
debugger.
Second, add Nim source files to the list of valid source file that Seer needs to know of.
Make sure to save the configuration changes:
Settings -> Save Configuration...
Quit Seer and now you should be able debug something.
$ seergdb -s mynimprogram
https://nim-lang.org/
https://nim-lang.org/blog/2017/10/02/documenting-profiling-and-debugging-nim-code.html
https://internet-of-tomohiro.netlify.app/nim/gdb.en.html
https://github.com/cooldome/Nim-gdb
https://github.com/nim-lang/Nim
I'm no Nim expert. If there are problems in Seer handling Nim programs, let me know. Also any feature improvements are always welcomed.