Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. How to disable Creator debugger changing editor focus?
Forum Update on Monday, May 27th 2025

How to disable Creator debugger changing editor focus?

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 232 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    psimpson
    wrote on last edited by
    #1

    When a break point is reached, Qt Creator used to display that break point in the active, in-focus editor pane/split. Now, if an editor pane/split exists containing the file with that break point, Qt Creator will change focus to that pane/split and locate the break point there. How can I disable this new behavior and have the debugger again open break and stack points in the desired active pane/split, rather than changing to out of focus pane/splits that exist for another reason?

    I am using QtCreator 4.13.2 with Qt 5.15.1, with GDB 9.2 in Ubuntu 20.04.1.

    I used to be able to open a new editor split, run the debugging session within it, and then close or minimize that split to continue my editing session. Now it is impossible to maintain the state of my editor splits during a debugging run.

    1 Reply Last reply
    0
    • G Offline
      G Offline
      Gideon
      wrote on last edited by
      #2

      Apologies for ressurecting this old topic, but I have had the same irritations with the new behaviour for a while now.

      Similar to the debugger behaviour explained in the previous post, the build issues pane behaves the same: When I double-click an issue to jump to the point in the file, one of the editor splits will be used, but not necessarily the last active (last focussed) one. In previous versions of QtCreator, the behaviour was to always use the last active split. In this way, one could give a certain split focus before double-clicking on an issue, and in doing so choose which split will be used.

      Project level find (Ctrl+Alt+F) still behaves in the old way, where it will jump to the result using the last active editor split.

      Is there a solution to get the old behaviour, and/or a possibility to make it a preference option?

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved