|
Archives
D Programming
DD.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] finding source files
What's up with finding source files in ddbg? What I do most for testing is run my program. If it crashes, I run it again inside ddbg. It crashes again and then I type 'ps'. At that point it pretty much always tells me "source file for current location unknown". Ok, so that's probably because I'm on the wrong frame (I'd think even then it should print out the topmost frame that does have source). But if I 'f 2' to get to what should be my code it *still* says 'source file for current location unknown'. 'lsm' though, tells me all the files just fine. If I set a breakpoint and run to that, though, 'ps' works. Any chance listing could be made to work without having to set breakpoints? --bb Sep 13 2007
Bill Baxter wrote:What's up with finding source files in ddbg? What I do most for testing is run my program. If it crashes, I run it again inside ddbg. It crashes again and then I type 'ps'. At that point it pretty much always tells me "source file for current location unknown". Ok, so that's probably because I'm on the wrong frame (I'd think even then it should print out the topmost frame that does have source). But if I 'f 2' to get to what should be my code it *still* says 'source file for current location unknown'. 'lsm' though, tells me all the files just fine. If I set a breakpoint and run to that, though, 'ps' works. Any chance listing could be made to work without having to set breakpoints? --bb Sep 14 2007
Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Jascha Wetzel wrote:Bill Baxter wrote:What's up with finding source files in ddbg? What I do most for testing is run my program. If it crashes, I run it again inside ddbg. It crashes again and then I type 'ps'. At that point it pretty much always tells me "source file for current location unknown". Ok, so that's probably because I'm on the wrong frame (I'd think even then it should print out the topmost frame that does have source). But if I 'f 2' to get to what should be my code it *still* says 'source file for current location unknown'. 'lsm' though, tells me all the files just fine. If I set a breakpoint and run to that, though, 'ps' works. Any chance listing could be made to work without having to set breakpoints? --bb Sep 14 2007
Bill Baxter wrote:Jascha Wetzel wrote:Bill Baxter wrote:What's up with finding source files in ddbg? What I do most for testing is run my program. If it crashes, I run it again inside ddbg. It crashes again and then I type 'ps'. At that point it pretty much always tells me "source file for current location unknown". Ok, so that's probably because I'm on the wrong frame (I'd think even then it should print out the topmost frame that does have source). But if I 'f 2' to get to what should be my code it *still* says 'source file for current location unknown'. 'lsm' though, tells me all the files just fine. If I set a breakpoint and run to that, though, 'ps' works. Any chance listing could be made to work without having to set breakpoints? --bb Sep 15 2007
|