newtonsart / vscode-assembly

Assembling and debugging assembly in Visual Studio Code

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

vscode-assembly

contributions welcome  License: GPL v3

Assembling and debugging assembly in Visual Studio Code

Currently it supports:

  • Assembly x86_32 Intel and AT&T syntax
  • Assembly x86_64 Intel and AT&T syntax
  • Assembly x86_32 with C libraries
  • Assembly x86_64 with C libraries

Demo

Running

Installing

Visual Studio Code

I guess you already have this installed... If not, go here

GDB

Install your distro gdb package:

Archlinux

sudo pacman -S gdb gcc binutils

Debian

sudo apt install gdb gcc binutils

Fedora

yum install gdb gcc binutils

GDB Debug Extension

Press ctrl + p inside of visual studio code and paste the following command:

ext install DamianKoper.gdb-debug

Json files

You'll need to put the .vscode folder in your visual studio workspace

How to allow breakpoints

Just follow the next steps: VS->Settings->Debug and change "debug.allowBreakpointsEverywhere" to true

Optional

License

vscode-assembly is licensed under the GNU General Public License v3.0

About

Assembling and debugging assembly in Visual Studio Code

License:GNU General Public License v3.0