- x86 nasm Intel/C library
- x64 nasm Intel/C library
- VS code
- gdb
- x8664assembly (for syntax highlight)
Install:
PressF1
inside VS code and type in:ext install fredhappyface.x8664assembly
(or search for this extension to install) - GDB Debug (for debugging)
Install:
F1
inside VS Code and type in:ext install DamianKoper.gdb-debug
Put this config folder into your workspace folder
- task.json: Contains some build task options, default is 'asm64' which is for x64 nasm Intel syntax. You can change which task is default or not.
- launch.json: Some debug options for correctsponding build task.
Remember to build task befor debug!
Go to File > Preferences > Settings > Search for "Debug" and tick the AllowBreakpointsEveryWhere.
Press ctrl + j
and go to the "Debug Console" panel to type in your input! (shown in screenshot above).
Go to Variables > Registers in the Debug view.
I followrd mainly from newtonsart and add a little more custom configs. Thanks, newtonsart!
Hope it helps!