Debian 8.1: Detached panes do not survive

CodeLite installation/troubleshooting forum
robinwhittle
CodeLite Enthusiast
Posts: 14
Joined: Sat Mar 26, 2011 4:22 pm
Genuine User: Yes
IDE Question: C++
Contact:

Debian 8.1: Detached panes do not survive

Post by robinwhittle »

Thanks Eran and others for Codelite!

On Debian 8.1 64 bit, I compiled Codelite 8.0 from source, by following the instructions at http://codelite.org/Developers/Linux except that instead of using git, I used a tarball. This is from the "Download CodeLite 8.0 tar.gz from GitHub" link at http://downloads.codelite.org which linked to http://downloads.codelite.org/downloads.php?sources - which gave me a file: codelite-8.0-1.tar.gz .

When debugging a C++ program, I was using two tabs in the Debugger section on the lower right: Locals and Output. (The other tabs are Watches, Ascii Viewer, Call Stack, Breakpoints, Threads, Memory and <> Disassemble.) I right-clicked the tab for each of these and used the resulting "Detach" button. These items disappeared from where they were and appeared as separate windows from the main Codelite window. I could continue debugging and all was well. When I stopped debugging and restarted debugging, these items were no-where to be found - though I did see them appear for a split second in the location each one had its separate window.

I could find nothing in the settings to bring them back. I tried clicking their parts of the Debugger > GDB Windows menu, but this made no difference. All but Disassembly remained ticked at all times. Closing and restarting Codelite made no difference. The only way I found to fix it was to close Codelite and edit: /home/(user)/.Codelite/config/codelite.xml to remove the lines for these two items from the section "<ArchiveObject Name="DetachedPanesList">". Then they would reappear as tabbed items in the Debugger section as before. This behavior was the same using the Linux machine's actual screen and when using Codelite via a Windows 7 machine with Xming 7.5.0.72 X-server.

There is no such trouble with Codelite 8.0 on Windows 7. The detached items reappear in their previous positions when I restart the debugger.

In both Linux and Windows, closing one of these detached panes with the X at the top right causes it to close this window and reappear in the Debugger section, in the right-most position. In both Linux and Windows, the Debugger > GDB Windows menu does not change or allow me to alter anything, as far as I can tell. The first 8 of the 9 items are always ticked.

Robin Whittle Daylesford Australia
robinwhittle
CodeLite Enthusiast
Posts: 14
Joined: Sat Mar 26, 2011 4:22 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Debian 8.1: Detached panes do not survive

Post by robinwhittle »

I just built Codelite from the git repository, downloaded a few hours ago, on another Debian 8.1 system, and this problem no longer occurs. The windows (Locals and Output at least) will reappear in their detached states in their last position and size, after I stop and restart the debugger. Closing Codelite, re-running it, and then debugging again . . . yes they reappear as they should.

This Codelite identifies itself as version 8.0.2, whereas the one I compiled earlier from source code which was apparently released on 2015-05-10, which had the problem, was 8.0. Thanks again!

- Robin
Post Reply