Replies: 2 comments 1 reply
-
A step-through debugger is something we're considering, though it's not in the classic notebook feature set so it's not something we've prioritized so far. Jupyter released support for it last year and we'll likely support it at some point. One thing about a debugger is that it's only helpful for beginners if they already know how to use a debugger, so we're also looking at more intuitive ways to make the state of a running program visible. The latest .NET Interactive release has made some gains on #1391. Please give it a try and let us know if you see any improvement. |
Beta Was this translation helpful? Give feedback.
-
Thanks for your comment on the plans/status of the debugger support. Yes, people should know how to use a debugger. In my world (university), students usually know that, but they start using dotNet Interactive to play around and learn .NET and the C# language. It's a low-barrier entry into the .NET world without installing GB-sized VisualStudio. And for them it is pretty essential to have all three components I mentioned above. On #1391: |
Beta Was this translation helpful? Give feedback.
-
Is there any way to use a debugger (Omnisharp) inside a C# (or Powershell) cell to step through the code, set breakpoints, and inspect the variables?
If no, are there any plans to support that scenario?
I really like the dotNet Interactive experience inside of VSCode. The fact that you can mix code and documentation and have formatted output (text, table, graphics or html) embedded in the notebook. But the developer experience is pretty bad.
Taking all these together (and with the last point weighting in), it is very difficult to get your code right. Especially for C# beginners or intermittent users.
Beta Was this translation helpful? Give feedback.
All reactions