Skip to content

Instantly share code, notes, and snippets.

View SvenSchneiderDVAG's full-sized avatar

Sven Schneider SvenSchneiderDVAG

View GitHub Profile
@SvenSchneiderDVAG
SvenSchneiderDVAG / 0 Odin debugging on windows.md
Created June 23, 2024 15:10 — forked from RednibCoding/0 Odin debugging on windows.md
Odin debugging on windows with vscode. See: readme

Setup

To setup debugging for Odin programs on Windows with VsCode follow these steps:

  • make sure you have the C/C++ extension pack (VsCode extension) installed
  • create a .vscode folder at the root of your Odin project
  • copy the launch.json and tasks.json into it
  • click on the debug tab in VsCode, then click on the debug button at the top (or press F5)

Note: if you want to use a starter template which also sets up a tracking allocator which tracks and reports memory leaks you can use: https://github.com/RednibCoding/Odin-Starter