Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-debug-dev] Some suggestions about debugger

> 
> This is a multipart message in MIME format.
> --=_alternative 00596D35C3256C7C_=
> Content-Type: text/plain; charset="us-ascii"
> 
>    Hi all!!!
> 
> What do you think about following Debugger's functionality -  show 
> changing registers and memory while program is launching.  I mean that 
> Debugger should somehow(by timer or somehow else) watch for registers, for 
> example, and change their values during  launching the program. So user 
> resumes program, it launches and in the same time  value of registers in 
> Register View changes. 
> 
>  I don't know just now is it difficult to do this but I think it will be 
> nice feature.
> 

I think, what you are looking for is tracepoints(see gdb manual) or collect,

 tracepoints -- Tracing of program execution without stopping the program

The debugger is collecting data while the information is running and it could
be display.

gdb has the framework for it, but it is not supported in gdb mi, or rather
the commands are noops.
I do not know if gdb supports this for all platform or even for GNU/Linux.

It could be fake by suspending the program, collecting some data and resume
etc .. first glance this seems to be very intrusive.



Back to the top