This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: MI: type prefixes for values
On Friday 17 February 2006 23:40, Jim Ingham wrote:
> And... since the varobj's only parse the expression once when the
> varobj is created, getting the current values of varobj's is much
> faster than doing -data-evaluate-expression. Not a big deal if you
> are just printing one value. But if you are trying to update all the
> local variables on every step, this can be significant. People tend
> to be pretty sensitive to the speed of the "step" operation...
Hi Jim,
can you provide some concrete numbers? Specifically, is using varobj to get
values of all local variables faster then a single -stack-list-locals, and if
so, by how much?
Thanks,
Volodya