digitalmars.D.debugger - feature request: registers
- bobef (1/1) Apr 20 2007 Could you please extend dr command to accept optional argument to dump o...
- Jascha Wetzel (4/5) Apr 21 2007 dumping a single register basically takes as long as dumping all of
- bobef (2/8) Apr 21 2007
- Jascha Wetzel (6/17) Apr 21 2007 well, parsing is somewhat slower when all registers are ouput, of
Could you please extend dr command to accept optional argument to dump only specific register?
Apr 20 2007
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
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
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