S&box Wiki

Revision Difference

Debugging#529920

<cat>Dev.Intro</cat> <cat>Code.Intro</cat> <title>Debugging</title> S&box supports debugging and breakpoints, it's as simple as opening up the generated `Addons.sln` and hitting Start debugging (F5). #Disabling Edit and Continue You may notice that you get green underlines while debugging and editing code, this is due to **Edit and Continue** being enabled in the visual studio settings, normally this is a good thing but due to s&box hotloading it needs to be disabled. You can disable this by going to **Tools** > **Options** > (or **Debug** > **Options**) > **Debugging** > **General** then scrolling about half way down and unchecking **Edit and Continue**.