Wokwi has a built-in debugger that allows you to step through your code, inspect variables, and set breakpoints. The debugger is currently in beta, and is available for AVR microcontrollers: Arduino Uno, Arduino Nano, Arduino Mega, and the ATtiny85.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/wokwi/wokwi-docs/llms.txt
Use this file to discover all available pages before exploring further.
If you wish to debug other microcontrollers, such as the ESP32 or the Raspberry Pi Pico, you can use Wokwi for VSCode, which has integrated debugger support.
Using the debugger
Set breakpoints
Click on the left margin of the code editor to set breakpoints. The debugger will pause execution when the program reaches the breakpoint.
- Continue - Continue running the program. If the program is paused at a breakpoint, the debugger will continue running until the next breakpoint.
- Step over - Step over the current line of code. If the current line is a function call, the debugger will step over the function call and stop at the next line of code.
- Step into - Step into the current line of code. If the current line is a function call, the debugger will step into the function and stop at the first line of the function.
- Step out - Step out of the current function.