Locals update in debugger

Vladimir Prus ghost at cs.msu.su
Tue May 15 10:54:14 BST 2007


On Tuesday 15 May 2007 12:55, Leon Pollak wrote:
> Hello.
> 
> I have the remote connection to the target while debugging my application. 
> Sometimes making step takes significant time. This makes me think 
> that "Locals" values in "Variables" tab are read back from the target each 
> time I make a step.
> Now, if, for example, "this" is small, I do not see any time delay. But if it 
> is big, then it takes a noticeable time.
>
> If so, I should like to suggest not to expand "Locals" content by default. 
> This will be useful also from another point of view: for example, if there is 
> a pointer pointing to some hardware FIFO, expanding it will cause HW to loose 
> data.

Current gdb has functionality to avoid reading some variables -- incidentally,
developed exactly to prevent reading various FIFO buffers on each step.

I'd just need to update KDevelop to use that.

- Volodya




More information about the KDevelop mailing list