Skip to content
This repository has been archived by the owner on May 25, 2021. It is now read-only.

wokwi/web-avr-gdb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DEPRECIATED!

This repository is depreciated and has now been archived. Check out the newer web-gdb repo, which supports multiple architectures (gdb-multiarch).


web-avr-gdb

avr-gdb running in a web-browser!

How can I use it?

To use web-avr-gdb on Wokwi, open any project (e.g. this Simon game), click on the code editor, and press F1. In the prompt that opens, type "GDB":

Choose the "debug build" option (the release build is harder to debug, but it's useful if your program uses the FastLED library). Web GDB will load in a new browser tab (you have to be a bit patient), and you should get the familiar GDB prompt:

0x00000000 in __vectors ()
(gdb) 

At this point, you can write continue to start the program, or better - check out the Arduino/AVR GDB Cheatsheet to see all the things GDB can do for you!

How does it work?

Great question, you'll find the answer in my Running GDB in the Browser blog post.

About

avr-gdb running in a web-browser

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages