IDE v2.0.3 debugger var-create: cannot create variable object

After having solved various problems b4 getting a debugging session to work (see my other two posts), the debugger is now running, however not satisfactory.

In this moment the debugger, when having set a watch for the variable 'f_size', the debugger states the following error:
f_size <- var-create: unable to create variable object (from var-create watch_(long ID number) at @ "f_size")

See: screenshot error

Note that the sketch on the Device under test (DUT), a Raspberry Pi Pico W, was compiled with the IDE v.2.0.3 > Tools > Flash Size set for: '2 MB (Sketch: 1MB, FS: 1MB)'.
The debugger runs via a Raspberry Pi Pico H flashed as Picoprobe, using the latest Picoprobe fw version.

Question: how can I resolve this watch error?

Problem solved:

Today I replaced the Raspberry Pi Pico W (DUT) by another one. Now the debugger works OK.
With the first Pico W I also did not receive Serial.print() or Serial.println() to the serial monitor window of the debugger of the IDE v2.0.3. The debugger also halted constantly.

See: screenshot current situation

Conclusion:
The debugger of the Arduino IDE v2.0.3 works fine.
The problem was a faulty microcontroller board Raspberry Pi Pico W.
Probably UART0 (GP0, GP1).

1 Like

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.