Description
Describe the problem
Using an Arduino Zero
Plug in and ensure board configured with IDE 2.2.1
Load a simple example - Digital -Button.
compile and start debug from the debug icon just below tools menu
at line 42 or within the loop somewhere add int x=0;
somewhere below that Add if you can a conditional breakpoint with an expression lets say x=1
run the debug and see where it stops it probably won't
now see if you can edit the condition
now see if it stops anywhere.
There seems to be a lot of bugs in the conditional breaks or watch conditions
To reproduce
Too many
Expected behavior
I expect first of all that a variable being selected can be used as a debug watched variable without having to type it in.
I expect the conditional break to right click on the left of the line number to actually give me something to type into.
I expect the same for watches.
I expect that if I haven't typed it in correctly that the IDE will tell me that something is wrong straight away.
I expect some examples of what you can type into a conditional box to be available.
I don't expect to have to reload a sketch just to get a type-in box
I really don't expect to have three debug icons to choose from and if I choose the wrong one I get nothing or another gdb-server tab appearing.
These are just a few of my expectations having paid for an Arduino Zero for the specific reason of debugging.
Arduino IDE version
2.2.1
Operating system
Windows
Operating system version
11
Additional context
I hope the IDE will come out soon with a new version with a lot of these bugs fixed.
Issue checklist
- I searched for previous reports in the issue tracker
- I verified the problem still occurs when using the latest nightly build
- My report contains all necessary details