Skip to content

The IDE switches to Variables tab before the compilation is complete #9668

Open

Description

@dca00

Apache NetBeans version

Apache NetBeans 31

What happened

During the compilation, the IDE opens the Output and Variables tabs by default and switches to the Variables tab during the compilation, while there may still be failure output in the corresponding tab.

Language / Project Type / NetBeans Component

Java

How to reproduce

Build any project

Did this work correctly in an earlier version?

No / Don't know

Operating System

Any

JDK

Any

Apache NetBeans packaging

Apache NetBeans binary zip

Anything else

Always

Are you willing to submit a pull request?

No

Activity

  1. added
    kind:bugBug report or fix
    needs:triageRequires attention from one of the committers
    on Oct 5, 2026
  2. mbien commented on Oct 6, 2026

    @mbien
    Member

    not sure what you mean by "Variables tab". There is a variables window for the debugger, but it wouldn't be active during build, only during debugging sessions.

    please describe how to reproduce this.

  3. dca00 commented on Oct 6, 2026

    @dca00
    Author

    not sure what you mean by "Variables tab". There is a variables window for the debugger, but it wouldn't be active during build, only during debugging sessions.

    please describe how to reproduce this.

    The Variables tab is the Variables tab. You are correct that you find it under Debug views, but the compilation has nothing to do with build. It's the compilation that switches the tabs. As in "Run" or "Run with debugger".

  4. mbien commented on Oct 6, 2026

    @mbien
    Member

    but the compilation has nothing to do with build

    ??

    the compilation that switches the tabs. As in "Run" or "Run with debugger".

    ok. The run action won't open the Variables view since it is not starting a debugger session.

    But if you hit debug, it will indeed put some views into focus. Expression evaluator, Variables and Debugging.

    I think what you are trying to say is that if the build fails while running the debug action on a maven project and you have variables in the same tab group of the output, you are now looking at the variables view but won't see the errror.

    I suppose this could be improved by exiting the debugging session on build failure - its possible that some maven output matcher isn't working anymore since those are fragile. Going to add the contribution-welcome label in case anyone is interested in this.

  5. added
    Contribution welcomeAn issue or feature not currently being worked on, but a contribution would be welcomed!
    Maven[ci] enable "build tools" tests
    and removed on Oct 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Contribution welcomeAn issue or feature not currently being worked on, but a contribution would be welcomed!Maven[ci] enable "build tools" testsdebuggerkind:bugBug report or fix

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions