www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.debugger - feature request: registers

reply bobef <asd asd.asd> writes:
Could you please extend dr command to accept optional argument to dump only
specific register?
Apr 20 2007
parent reply Jascha Wetzel <"[firstname]" mainia.de> writes:
dumping a single register basically takes as long as dumping all of
them. therefore i don't see the advantage of doing that.
why do you need it?

bobef wrote:
 Could you please extend dr command to accept optional argument to dump only
specific register?

Apr 21 2007
parent reply bobef <asd asd.asd> writes:
Because I am writing a front end for ddbg and it supports breakpoint
conditions. I wish to enable the user to compare the value of a register in 
given condition, so I don't need to parse the output for all registers, but if
you say it takes the same time there is really not much point...

Jascha Wetzel <[firstname] mainia.de> Wrote:

 dumping a single register basically takes as long as dumping all of
 them. therefore i don't see the advantage of doing that.
 why do you need it?
 
 bobef wrote:
 Could you please extend dr command to accept optional argument to dump only
specific register?


Apr 21 2007
parent Jascha Wetzel <"[firstname]" mainia.de> writes:
well, parsing is somewhat slower when all registers are ouput, of
course. but the way you're realizing conditional breakpoints is
inherently slow anyway.
i'd suggest to postpone that until Ddbg provides proper conditional
breakpoint support.

bobef wrote:
 Because I am writing a front end for ddbg and it supports breakpoint
conditions. I wish to enable the user to compare the value of a register in 
given condition, so I don't need to parse the output for all registers, but if
you say it takes the same time there is really not much point...
 
 Jascha Wetzel <[firstname] mainia.de> Wrote:
 
 dumping a single register basically takes as long as dumping all of
 them. therefore i don't see the advantage of doing that.
 why do you need it?

 bobef wrote:
 Could you please extend dr command to accept optional argument to dump only
specific register?



Apr 21 2007