www.digitalmars.com Home | Search | C & C++ | D | DMDScript | News Groups | index | prev | next
Archives

D Programming
D
D.gnu
digitalmars.D
digitalmars.D.bugs
digitalmars.D.dtl
digitalmars.D.dwt
digitalmars.D.announce
digitalmars.D.learn
digitalmars.D.debugger

C/C++ Programming
c++
c++.announce
c++.atl
c++.beta
c++.chat
c++.command-line
c++.dos
c++.dos.16-bits
c++.dos.32-bits
c++.idde
c++.mfc
c++.rtl
c++.stl
c++.stl.hp
c++.stl.port
c++.stl.sgi
c++.stlsoft
c++.windows
c++.windows.16-bits
c++.windows.32-bits
c++.wxwindows

digitalmars.empire
digitalmars.DMDScript
electronics



digitalmars.D.debugger - feature request: registers

↑ ↓ ← bobef <asd asd.asd> writes:
Could you please extend dr command to accept optional argument to dump only
specific register?
Apr 20 2007
↑ ↓ 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
↑ ↓ 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
↑ ↓ → 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