09-04-2022, 09:01 AM
(This post was last modified: 09-04-2022, 10:08 AM by Brian Beuken.)
I've never found that to be very functional, in theory an X11 linux system acts as a server, and can send its screen to any X11 client but its just too slow and impractical so I don't recommend it. As good as VisualGDB is it was never really designed for the Pi specifically and some of its features work better than others, In principle it does work, I've had one occasion where I magically got a screen to appear but that was quite some time ago and since it covered my console output on VS I didn't use it again. I just tried it now and yup, I got something but just a grey screen.
So I 'd chalk this down to, if I want to mess about I can probably get it working but its not worth the effort, so In the VGB Debug settings set the gui to show on target and make sure your Raspberry has a montior connected.
BUT if you dont' have a monitor or you really want to see the output on your PC, VNC is a much much better system and works perfect to get your screen on the PC as you are running the debugger. Activate it on your Pi's properties and install the free vnc viewer rom reakVNC
To auto launch the program for VS you just need to have the project settings in VisualGDB (not the project properties) and ensure that your main build/debug is set to your raspberry IP,
Let me know if this helps.
So I 'd chalk this down to, if I want to mess about I can probably get it working but its not worth the effort, so In the VGB Debug settings set the gui to show on target and make sure your Raspberry has a montior connected.
BUT if you dont' have a monitor or you really want to see the output on your PC, VNC is a much much better system and works perfect to get your screen on the PC as you are running the debugger. Activate it on your Pi's properties and install the free vnc viewer rom reakVNC
To auto launch the program for VS you just need to have the project settings in VisualGDB (not the project properties) and ensure that your main build/debug is set to your raspberry IP,
Let me know if this helps.
Brian Beuken
Lecturer in Game Programming at Breda University of Applied Sciences.
Author of The Fundamentals of C/C++ Game Programming: Using Target-based Development on SBC's
Lecturer in Game Programming at Breda University of Applied Sciences.
Author of The Fundamentals of C/C++ Game Programming: Using Target-based Development on SBC's