Steps to reproduce:
- create Welcome project
- do step into project
- open Registers view
Result: IDE freezes for 30 seconds then empty Registers view appears. If a user switches to another Debugging View (e.g.
Breakpoints) then returns back IDE freezes once again. The constant duration of the freeze hints that it's some kind of
"waiting for reply".
Created attachment 60359 [details]
On Mac we use gdb 6.3 which does not support some operations :(
It looks like a timing issue. You issue the 107-data-list-register-names immediately
after 106-exec-run. On the Mac this doesn't work. You should consider sending your
-data-list-register-names on a PROP_STATE change from STATE_STARTING to STATE_LOADING.
This would mean your command was issues when we stopped at main (or the 1st line of
If you choose to do this we probably need to coordinate a better transition from
LOADING to READY. Initially, LOADING was *only* for setting breakpoints and when the
last bp was created we switched to READY. A 2nd check was added to this state and the
transaction became a bit of a kludge. We should probably define the transition better
as its a good spot for making queries to gdb (ie, after we've run to main and gdb and
the debuggee are both initialized).
fixed in main with the changeset:
verified in dev build 20080424003
I've backported the changeset http://hg.netbeans.org/main/rev/6199836dfdcd into release61_fixes repository as
user: Egor Ushakov <firstname.lastname@example.org>
date: Wed Apr 23 18:20:07 2008 +0400
summary: fixed IZ:133133 (IDE freezes for a while if user opens Registers view)