Qt Creator Debug window will not dock



  • Using
    Qt Creator 3.2.1
    Qt 5.3.2
    Fedora 21
    gcc 4.6.1 64 bit

    Somehow I managed to undock the debug window, and now I cannot dock it. I can't even move it. To move it, I must drag the edges of the debug window, first one edge, then the opposite edge.

    I know this doesn't sound like a big deal, but it is frustrating.


  • Lifetime Qt Champion

    Hi,

    In the Qt Creator "faq":http://doc.qt.io/qtcreator/creator-faq.html you can find how to reset all settings, taking a look at the files mentioned you may found the layout part and reset it.

    Hope it helps



  • Found the following and set them to true.

    No joy. :(
    @
    $ find ./ -type f -iname '*' -exec sh -c 'grep -q "$2" $3; if [ $? -eq 0 ]; then echo $3; grep -ns --color $1 "$2" $3; fi' sh ' -i' debug '{}' ';' ./QtCreator.ini

    68:Qmake.WorkingDir.History=/work/kabi/debug
    84:[DebugMode]
    100:EnableReverseDebugging=false
    106:IdentifyDebugInfoPackages=false
    132:UseDebuggingHelper=true
    142:[DebugMode.CppMode]
    143:Debugger Toolbar=true
    144:Debugger.Docks.Break=false
    145:Debugger.Docks.LocalsAndWatchers=true
    146:Debugger.Docks.Modules=false
    147:Debugger.Docks.Output=false
    148:Debugger.Docks.Register=false
    149:Debugger.Docks.Snapshots=false
    150:Debugger.Docks.SourceFiles=false
    151:Debugger.Docks.Stack=false
    152:Debugger.Docks.Threads=false
    155:[DebugMode.CppQmlMode]
    156:Debugger Toolbar=@Invalid()
    157:Debugger.Docks.Break=true
    158:Debugger.Docks.LocalsAndWatchers=true
    159:Debugger.Docks.Modules=true
    160:Debugger.Docks.Output=true
    161:Debugger.Docks.Register=true
    162:Debugger.Docks.Snapshots=true
    163:Debugger.Docks.SourceFiles=true
    164:Debugger.Docks.Stack=true
    165:Debugger.Docks.Threads=true
    168:[Debugger.BreakWindow]
    171:[Debugger.LocalsView]
    174:[Debugger.StackView]
    276:LastPreferenceCategory=O.Debugger
    364:Settings\ShowDebugOutput=false
    @



  • Try to move $HOME/.config/QtProject/ to another name let say
    @
    mv $HOME/.config/QtProject/ $HOME/backup.QtProject
    @

    And then start QtCreator.



  • Thanks, that worked.

    I had to reset my preferences, etc.

    Meanwhile, I learned how to redock the window. Just need to drag it far enough to the right. If you grap the window in the middle, you won't have enough real estate to drag it far enough to the right to make it dock again.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.