I found out that the extreme slowness arises when I view the “Autos” and “Locals” windows in the GDB Session area.
If I just view the “GDB Session” view then it is relatively fast. But if I view the autos or locals, it is 10-20 times slower. So apparently the viewing of local variables really slows it down to become unusable.
Is there a way to speed viewing of local variables up?
It seems that for each variable, it is executing a command like this:
162 ms: -var-info-path-expression “var127″
^done,path_expr=”error_id”
So if there are many variables, it adds up…