RaspberryDebugger icon indicating copy to clipboard operation
RaspberryDebugger copied to clipboard

Raspberry Debug Settings - Target Raspberry resets to [DISABLED]

Open MagicAndre1981 opened this issue 4 years ago • 3 comments

I'm new to this project and try to get it running. I've installed the extension in VS2019 16.10.1, configured my connection and when I click on Project->Raspberry Debug Settings, change Target Raspberry and click ok, next time I open the dialog I see again [DISABLED] so debugging doesn't work.

In the extension options I can successfully verify my connection to the Pi4 (4GB RAM Model Rev.1.4, RapsiOS - 32Bit).

I try to debug a .Net 5 console app in AnyCPU configuration.

MagicAndre1981 avatar Jun 15 '21 09:06 MagicAndre1981

On other projects it works fine so that I discovered to issues (1,2).

Those demo console programs only have 1 project in the solution an the first solution I tried has over 30 projects. Maybe this is the cause?

MagicAndre1981 avatar Jun 16 '21 08:06 MagicAndre1981

ok, I see that the config is stored in a file called raspberry-projects.json under the hidden .vs folder. In this project the file is not created. I also tried to copy the file from my other test application that I created, but debugging doesn't work, the app starts on my Windows 10 development VM with VS2019.

MagicAndre1981 avatar Jun 16 '21 09:06 MagicAndre1981

I met similar problem, everytime i select a connection, VS hangs up until restart. after restart, it goes back to the original settings. But luckily, i can manually change the raspberry-projects.json file to make it work.

xiaoyuvax avatar Sep 18 '21 03:09 xiaoyuvax