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 - [ddbg] ps should print source of current frame

↑ ↓ ← Bill Baxter <dnewsgroup billbaxter.com> writes:
Thanks for adding the 'ps' previously.  Makes debugging from the command 
line much much easier.

But I just noticed that it doesn't honor the current frame setting.  I 
think ps should print the source of the current location in the current 
frame, not the current location in the topmost frame.

This is how gdb and other debuggers I've used do it, and it makes sense 
I think.

--bb
Jul 11 2007
↑ ↓ → Jascha Wetzel <firstname mainia.de> writes:
Bill Baxter wrote:
 Thanks for adding the 'ps' previously.  Makes debugging from the command 
 line much much easier.

 But I just noticed that it doesn't honor the current frame setting.  I 
 think ps should print the source of the current location in the current 
 frame, not the current location in the topmost frame.
 
 This is how gdb and other debuggers I've used do it, and it makes sense 
 I think.
 
 --bb

you're right. i don't know why i missed that, since "da" already uses the frame start/end for disassembly. i'll fix it for the next release.
Jul 12 2007