nforgeio / RaspberryDebugger

Visual Studio Extension to Debug C# on Raspberry Pi
Apache License 2.0
39 stars 12 forks source link

Initial release specification #1

Closed jefflill closed 3 years ago

jefflill commented 3 years ago

The world needs an easy way to write and debug Raspberry Pi .NET Core applications using Visual Studio. There isn't really a good way to do this right now because there's a significant amount of setup required on both the Windows and Raspberry sides and the edit, build, debug inner loop is really clunky.

The idea is to build a Visual Studio VSIX that manages all of this as transparently as possible:

Limitations

References

https://www.hanselman.com/blog/remote-debugging-with-vs-code-on-windows-to-a-raspberry-pi-using-net-core-on-arm https://github.com/OmniSharp/omnisharp-vscode/wiki/Attaching-to-remote-processes https://github.com/OmniSharp/omnisharp-vscode/wiki/Remote-Debugging-On-Linux-Arm https://microsoft.github.io/debug-adapter-protocol/ - overview of remote debugging OmniSharp Debugger Documentation: launch.json OmniSharp: launch.json details

This documents launch.json for Visual Studio Code. I'm not convinced that this is the same for Visual Studio:

https://code.visualstudio.com/Docs/editor/debugging#_launchjson-attributes

It may be possible to support F5-Run and perhaps attach to process using custom tasks. The trick would be having a task be able to execute code in the VSIX. Something to investigate:

https://docs.microsoft.com/en-us/visualstudio/ide/customize-build-and-debug-tasks-in-visual-studio?view=vs-2019

jefflill commented 3 years ago

DONE (a while ago)