c++ - How to debug the program write with DM
Hello, I download the DigitalMars C/C++ Compiler, and I don't know how to debut the program wrote with it, I have the windbg application.
Aug 13 2002
"younker" <younker_dl hotmail.com> wrote in message news:ajaidg$lsi$1 digitaldaemon.com...Hello, I download the DigitalMars C/C++ Compiler, and I don't know how to debut the program wrote with it, I have the windbg application.Compile with -g switch. To debug the program hello.exe: windbg hello.exe
Aug 13 2002
Thank you for your reply, but I can't use the source level, when I start the debugger with windbg hello.exe, there isn't the source window, and only the Assembly code, when I open source, the debugger prompt there is no symbol can be found. thanks. "Walter" <walter digitalmars.com> wrote in message news:ajbcdv$1fgp$2 digitaldaemon.com..."younker" <younker_dl hotmail.com> wrote in message news:ajaidg$lsi$1 digitaldaemon.com...toHello, I download the DigitalMars C/C++ Compiler, and I don't know howdebut the program wrote with it, I have the windbg application.Compile with -g switch. To debug the program hello.exe: windbg hello.exe
Aug 14 2002
Make sure you compile and link with -g. -Walter "younker" <younker_dl hotmail.com> wrote in message news:ajc7ia$2are$1 digitaldaemon.com...Thank you for your reply, but I can't use the source level, when I startthedebugger with windbg hello.exe, there isn't the source window, and onlytheAssembly code, when I open source, the debugger prompt there is no symbol can be found. thanks. "Walter" <walter digitalmars.com> wrote in message news:ajbcdv$1fgp$2 digitaldaemon.com..."younker" <younker_dl hotmail.com> wrote in message news:ajaidg$lsi$1 digitaldaemon.com...toHello, I download the DigitalMars C/C++ Compiler, and I don't know howdebut the program wrote with it, I have the windbg application.Compile with -g switch. To debug the program hello.exe: windbg hello.exe
Aug 13 2002
thanks for your reply, yes, I use -g to compile my file , but not useful. "Walter" <walter digitalmars.com> wrote in message news:ajcsc1$2vml$1 digitaldaemon.com...Make sure you compile and link with -g. -Walter "younker" <younker_dl hotmail.com> wrote in message news:ajc7ia$2are$1 digitaldaemon.com...symbolThank you for your reply, but I can't use the source level, when I startthedebugger with windbg hello.exe, there isn't the source window, and onlytheAssembly code, when I open source, the debugger prompt there is nohowcan be found. thanks. "Walter" <walter digitalmars.com> wrote in message news:ajbcdv$1fgp$2 digitaldaemon.com..."younker" <younker_dl hotmail.com> wrote in message news:ajaidg$lsi$1 digitaldaemon.com...Hello, I download the DigitalMars C/C++ Compiler, and I don't knowtodebut the program wrote with it, I have the windbg application.Compile with -g switch. To debug the program hello.exe: windbg hello.exe
Aug 14 2002
When linking, make sure the /co switch is present to the linker. "younker" <younker_dl hotmail.com> wrote in message news:ajd2f8$6ed$1 digitaldaemon.com...thanks for your reply, yes, I use -g to compile my file , but not useful. "Walter" <walter digitalmars.com> wrote in message news:ajcsc1$2vml$1 digitaldaemon.com...startMake sure you compile and link with -g. -Walter "younker" <younker_dl hotmail.com> wrote in message news:ajc7ia$2are$1 digitaldaemon.com...Thank you for your reply, but I can't use the source level, when Ionlythedebugger with windbg hello.exe, there isn't the source window, andthesymbolAssembly code, when I open source, the debugger prompt there is nohowcan be found. thanks. "Walter" <walter digitalmars.com> wrote in message news:ajbcdv$1fgp$2 digitaldaemon.com..."younker" <younker_dl hotmail.com> wrote in message news:ajaidg$lsi$1 digitaldaemon.com...Hello, I download the DigitalMars C/C++ Compiler, and I don't knowtodebut the program wrote with it, I have the windbg application.Compile with -g switch. To debug the program hello.exe: windbg hello.exe
Aug 14 2002