aboutsummaryrefslogtreecommitdiff
path: root/docs/development/debugging/visualstudio.md
blob: 9e552eff93e922366a49ca301cf26c085dc5afc8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Visual Studio

{% hint style="warning" %}
The GitBook based NorthstarWiki has been replaced in favour of the [NorthstarDocs](https://docs.northstar.tf/) where this wiki has been integrated.

Check it out here: [https://docs.northstar.tf/Wiki/](https://docs.northstar.tf/Wiki/)

The same page on the new wiki should be located here: https://docs.northstar.tf/Wiki/development/debugging/visualstudio

{% endhint %}

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)