Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Improve the UX of conditional expressions and debugging #2278

Open
Labels
topic: debuggerRelated to the integrated debugger topic: theiaRelated to the Theia IDE framework type: enhancementProposed improvement
@kandoooo

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    topic: debuggerRelated to the integrated debugger topic: theiaRelated to the Theia IDE framework type: enhancementProposed improvement

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /