File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -7,9 +7,10 @@ Below are some steps to help you debug [Nim](https://nim-lang.org/) code in [Vis
771 . Nim is installed.
882 . GDB is installed.
993 . VSCode is installed.
10- 4 . The [ Nim VSCode extension] ( https://marketplace.visualstudio.com/items?itemName=kosz78.nim ) is installed.
11- 5 . The [ Native Debug VSCode extension] ( https://marketplace.visualstudio.com/items?itemName=webfreak.debug ) is installed.
12- 6 . This example repository has been cloned with [ Git] ( https://git-scm.com/ ) .
10+ 4 . Python 3 is installed (used for pretty-printing with GDB).
11+ 5 . The [ Nim VSCode extension] ( https://marketplace.visualstudio.com/items?itemName=kosz78.nim ) is installed.
12+ 6 . The [ Native Debug VSCode extension] ( https://marketplace.visualstudio.com/items?itemName=webfreak.debug ) is installed.
13+ 7 . This example repository has been cloned with [ Git] ( https://git-scm.com/ ) .
1314
1415## Steps to setup debugging
1516
@@ -37,6 +38,8 @@ Open the Debug Console (at the bottom) and type:
3738python exec(open("bin/nim-gdb.py").read())
3839```
3940
41+ (Note: The version of GDB I have installed was built to run with Python 3, and this script works with Python 3)
42+
4043After pressing [ enter] , you should see success:
4144
4245![ load nim-gdb.py success] ( images/debug-console-load-nim-gdb.png )
You can’t perform that action at this time.
0 commit comments