vassilych / cscs

CSCS: Customized Scripting in C#
MIT License
166 stars 47 forks source link

how to debug cscs file? #23

Closed BenDerPan closed 4 years ago

BenDerPan commented 4 years ago

Hi, thx for your great job, and I have two questions about how to debug cscs script:

  1. how to setup the vscode to make debugger work?
  2. if I want to make a custom winform debugger tool for cscs, simplely support insert breakpoints, watch the variables , step in/out, any help to do that?
vassilych commented 4 years ago

Hi, Ben, this is very interesting. What is your project about and what it would do at the end?

Here is the link on how to set it the VS Code Extension up and connect it to the server running the CSCS:

https://marketplace.visualstudio.com/items?itemName=vassilik.cscs-debugger

The CSCS Debugger VS Code is open source, I do exactly that, breakpoints, watch variables, etc. The CSCS Debugger source code is at https://github.com/vassilych/cscs-debugger

And the actual CSCS code, where the Debuggers is listening for the VS Code Extension is here: https://github.com/vassilych/cscs

Best of luck and let me know how it is going! Vassili

On Sun, May 3, 2020 at 11:49 AM BenDerPan notifications@github.com wrote:

Hi, thx for your great job, and I have two questions about how to debug cscs script:

  1. how to setup the vscode to make debugger work?
  2. if I want to make a custom winform debugger tool for cscs, simplely support insert breakpoints, watch the variables , step in/out, any help to do that?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/vassilych/cscs/issues/23, or unsubscribe https://github.com/notifications/unsubscribe-auth/AE74VFCQUTC6G3RPLGMKWBTRPU42PANCNFSM4MYBWMSQ .

BenDerPan commented 4 years ago

I'm trying to use it as a backend for a visual programming language(such as Snap, and people can program with the internal APIs(like function in cscs) to simplify the programming part, I think node-red is a nice start, if we can combine cscs with blazor, maybe it's another surprise, it's just a simple idea right now :)

vassilych commented 4 years ago

Ok you can contact me via my private email so that we can discuss it. vassilik at gmail

On Mon, May 4, 2020 at 5:29 AM BenDerPan notifications@github.com wrote:

I'm trying to use it as a backend for a visual programming language(such as Snap https://github.com/jmoenig/Snap, and people can program with the internal APIs(like function in cscs) to simplify the programming part, I think node-red https://github.com/node-red/node-red is a nice start, if we can combine cscs with blazor, maybe it's another surprise, it's just a simple idea right now :)

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/vassilych/cscs/issues/23#issuecomment-623240590, or unsubscribe https://github.com/notifications/unsubscribe-auth/AE74VFH3M4GDVOHKRNRQBM3RPYY7XANCNFSM4MYBWMSQ .

BenDerPan commented 4 years ago

thx, I'm going to take some time to do some research on it, and I'd be happy to share it with you。 close this issue now. :)