Raspberry Pi Debugging with Visual Studio
Dave shows you how to single-step C++ code live in the Visual Studio debugger as it runs remotely on a Pi running Raspbian Linux. Don’t forget to check out my book on Autism and read the “Burgers with Bill Gates” sample chapter! https://amzn.to/3EUe321 Discord: / discord ---- IMPORTANT STEP THAT'S NOT SHOWN IN THE VIDEO: CONNECTION MANAGER in Visual Studio To connect to the Pi, you must set up the Connection to it in Connection Manager as follows: In the Debug-Options menu, under Cross Platform, open the Connection Manager. Add an SSH connection to your Pi using it’s hostname and your credentials, and it will verify that the connection works for you. Here’s some additional info on the connection manager if needed: https://docs.microsoft.com/en-us/cpp/... ON THE PI: sudo apt update sudo apt upgrade sudo apt-get install openssh-server g++ gdb gdbserver wiringpi install make ninja-build rsync zip sudo groupadd gpio sudo usermod -a -G gpio YOURUSERNAME sudo grep gpio /etc/group sudo chown root.gpio /dev/gpiomem sudo chmod g+rw /dev/gpiomem --- If you need a source copy of WiringPi: Using WSL and your favorite Linux distribution: git clone https://github.com/zhaolei/WiringOP.git -b h3 cd WiringOP chmod +x ./build sudo ./build --- More helpful info I found this page quite helpful and recommend it: https://dogfeatherdesign.com/2017/01/...

C++ Debugging for the ESP32 in Visual Studio

E01: Stupid C++ Tricks with Dave

What is VGA and How to Use it With a Raspberry Pi Pico

Microsoft Just Released Their Own Linux Distro: Should You Be Worried?

Intro to Raspberry Pi Pico and RP2040 - C/C++ Part 1: VS Code and Blink | Digi-Key Electronics

I Don't Think I Can Go Back To Windows...

The Hidden Optimizer That Secretly Supercharged Windows

Hello, Pi: Coding Zero to Hero

E02: Stupid C++ Tricks: Most Dangerous C Functions (E02)

Write Fast C/C++ Code for the Raspberry Pi Pico 2 using Visual Studio Code - Best RISC-V Compiler

the true reason C++ always wins

Modern C++: Unique Ptrs and Vectors

Raspberry Pi Pico - PIO explained

rust runs on EVERYTHING (no operating system, just Rust)

Branchless Programming: Why "If" is Sloowww... and what we can do about it!

How to Debug the Raspberry Pi Pico Using Another Pico! - Picoprobe and VSCode Tutorial

Why your NEW computer is SLOWER than your OLD computer! By a Retired Microsoft Engineer.

I Tried the Most "Beginner-Friendly" Linux Distro

Use C++ to Blink an LED on a Raspberry Pi in Under 5 Minutes!

