Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

debugger start/stop slow because of tabs

(1/4) > >>

killerbot:
This occurs both on trunk as on the debugger branch.

Build your application --> in the panel at the bottom the 'build log' has the focus. Now start the debugger and watch how a bunch of other tabs get the focus, one by one. The same occurs when stopping the debug sessions. This browsing through the different panels is extremely slow and unnecessary.

Such thing will bot happen eg when you run the eg valgrind plugin, then there's an immediate jump to the correct panel, and when valigrind's done and you 'build' then one have a direct jump to build tab.

Something for our debugger gurus ? ;-)  (trunk and branch)

Jenna:
Does this also happen, if you change the perspective manually to "Debugging" ("View -> Perspective -> Debugging") and also if you change back to the default perspective ?
Does it happen on windows or on linux ?

It might be related to the saving (and restoring) of the tabs visibility and order of the "Logs & others" tabs.
I can see it also, but it happens quite fast, but if it is related to saving/restoring the perspective, I can look into it.

killerbot:
on one pc it seems to go 'acceptable slow' but on my work laptop, it is really slow (maybe it gets slower the longer CB is running ?).

Just tried the manual perspective change as you suggested on above mentioned 'pc', and it is the same as when the debugger started/stopped.

I think you are right it is perspective related, since sometimes it occurs to me by somewhere clicking (or an unwanted mini drag) that CB goes into 'minimal perspective' and it is also that slow.

oBFusCATed:
For me the perspective change takes a second and it is visible. I though it is slow, too.
It takes longer if I have more tabs open in the messages window.

I can see how the tabs are removed and then added, like an animation.

Jenna:
Seems to be a wxGTK issue (again), because it works instantly on my xp-system.

Please test the attached patch.

Navigation

[0] Message Index

[#] Next page

Go to full version