hey there
sorry for the bumps i'm not sure what's up - i know it's not super-comforting but fwiw i just walked through the tutorial in the docs and it's working as expected. i'm able to break in the
divHandler()
fn and step-over all lines without issue. i set a watch for the result
variable and see it's value update in the watch panel at the far-left.
I am running a brand new Argon with a brand new Series 3 debugger
by "Series 3 debugger" i assume you mean the new Particle Debugger hardware?
couple things you can try:
- clean all the things - run the
Particle: Clean application for debug (local)
and theParticle: Clean application & DeviceOS (local)
tasks (docs) - delete the
./target
directory in your project - confirm your project is set to use
argon
anddeviceOS@1.4.0
(see screenshot below) - within the tinker app's
setup()
fn, addMesh.off();
as the first line and save - make sure both the Argon and Particle Debugger hw are plugged in via USB (each should have its own connection) w/ the debugger's jtag cable properly connected to the Argon
- in the debug configuration drop-down, select
Particle Debugger (argon, boron / bsom, xenon)
and click the green "start debugging" button - once your device is flashed, you'll see the debug toolbar in the "paused" state - click the blue "continue" button to proceed
- try to reproduce your error
here's where you can update your project settings:
...and here are the VSCode docs for debugging.
if the issue persists, please share more info about your environment and setup as described over here:
hope it helps!