On Sun, Dec 24, 2023 at 06:28 AM, Ashhar Farhan wrote:
Dave, I will move over to vs as well. It really doesnt matter to dev as we will be working off a cmake file.
I like vscode because of its nice integration with Git.? It makes it so you do not need to remember all those git commands.??
It also has strong cmake integration, although in my case there are still some differences in settings that it is using versus just running cmake on the command line that I need to figure out.
I also like it because it can be driven using the vim extension, although its emulation of vim has some limitations.??
It's debugger too has some limitations.? I could not figure out how to break it out of running the program so I could examine its state. You can issue gdb commands by using "-exec" at the debugger tab of the console area.? In Linux you can just hit Ctrl-C to get back to gdb.? Some pages suggested Ctrl-Shit-C would do this on vscode, but it didn't work for me.? What did work was opening a terminal window and issuing the command:
$ kill -INT `pidof sbitx`
Once I did this, I could then use "-exec" to enter gdb commands in vscode.? This works but it'd be nice to be able to enter Ctrl-C in a single keystroke.
I do need to set up the remote-ssh extension.? As was said above, vscode itself uses up a lot of resources so it's best to not run it all on the sbitx especially if you want to study performance.? I hope that I will find that it is better to run it on a fast desktop or laptop then just use the remote-ssh extension so it can access the Pi when needed.
As a side comment, I am using Pi 5 with Bookworm for other projects now, but am finding its OS to be annoying.? The use of Wayland instead of X has changed some behaviors that are part of my muscle memory and have been for decades now.? ?Apparently getting it to do "focus follows mouse" instead of "click to focus" takes you off into the world of various add-ons, and I didn't make the effort to do so.? ?Even menu item selection works differently enough for me to need to retrain myself.? Therefore I'm in no hurry to get onto Bookworm (Debian 12).? Bullseye (Debian 11) has none of these problems.? The Pi 5 though is much faster, it can decode eight FT8 streams at once with around 33% CPU remaining whereas the Pi 4 was hitting 100% CPU with four FT8 streams.? ?Therefore I keep the Pi 5 doing the number crunching and don't bother with attaching a display, I just ssh into it if/when needed.
--
Regards,
Dave, N1AI