aboutsummaryrefslogtreecommitdiff
path: root/docs/development/debugging/visualstudio.md
blob: 88115444d7ecd784f583435423adcf063e960031 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Visual Studio

Northstar is easiest to debug through Visual Studio due to its cmake support.


* If you do not already have Visual Studio download it https://visualstudio.microsoft.com/
  * Its recommended that you install the Community version because it is freely availalbe.
  * You need to install the `Desktop development with C++` workflow to debug native programs    
![](../../images/debugger-visualstudio-installer-workloads-cpp.png)

* Open Visual Studio
* Select `Open a project or solution`    
![](../../images/debugger-visualstudio-launcher.png)
  * If you already have a solution open you can open a new project through the menu bar    
![](../../images/debugger-visualstudio-menu-solution.png)
* Open `NorthstarLauncher.exe`
* You can now debug Northstar    
![](../../images/debugger-visualstudio-debug-menubar.png)
  * You can find relevant debug symbols in [NorthstarLauncher releases](https://github.com/R2Northstar/NorthstarLauncher/releases)