Skip to content

Commit a9eb255

Browse files
Updated notes to reflect Python 3 usage
1 parent d2a2d99 commit a9eb255

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

README.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,10 @@ Below are some steps to help you debug [Nim](https://nim-lang.org/) code in [Vis
77
1. Nim is installed.
88
2. GDB is installed.
99
3. 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:
3738
python 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+
4043
After pressing [enter], you should see success:
4144

4245
![load nim-gdb.py success](images/debug-console-load-nim-gdb.png)

0 commit comments

Comments
 (0)