oleg-shilo / cs-script.npp

CS-Script (C# Intellisense) plugin for Notepad++ (x86/x64)
MIT License
248 stars 52 forks source link

how to set breakpoint #47

Closed crippler123 closed 9 months ago

crippler123 commented 3 years ago

Hi How do I set breakpoints?

oleg-shilo commented 3 years ago

F9

crippler123 commented 3 years ago

Hi, thanks. Where can I find detailed docomentation of debugging (using cs-script plugin)?

oleg-shilo commented 3 years ago

https://github.com/oleg-shilo/cs-script.npp/wiki/Script-Execution

Arguably more detailed description here: https://www.codeproject.com/Articles/694248/Sharpening-Notepadplusplus. "Execution/Tracing/Debugging" section

But to put it simple, you need to

image


TBH Npp is a great editor and it makes sense to use it for editing. Debugging with it was great as an alternative to Visual Studio. But with the availability of VSCode (+ it is portable) I would rather use for debugging VSCode with the CS-Script extension: https://marketplace.visualstudio.com/items?itemName=oleg-shilo.cs-script#:~:text=CS-Script%20-%20VSCode%20Extension%20(CS-Script.VSCode)%20Execution,%20debugging%20and,only%20and%20only%20if%20Mono%20hosting%20is%20enabled.