Thread overview |
---|
August 13, 2002 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. |
August 13, 2002 Re: How to debug the program write with DM | ||||
---|---|---|---|---|
| ||||
Posted in reply to younker | "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 |
August 14, 2002 Re: How to debug the program write with DM | ||||
---|---|---|---|---|
| ||||
Posted in reply to Walter | 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... > > 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 > > > |
August 14, 2002 Re: How to debug the program write with DM | ||||
---|---|---|---|---|
| ||||
Posted in reply to younker | 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 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... > > > 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 > > > > > > > > |
August 14, 2002 Re: How to debug the program write with DM | ||||
---|---|---|---|---|
| ||||
Posted in reply to Walter | 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... > > 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... > > > > 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 > > > > > > > > > > > > > > > |
August 14, 2002 Re: How to debug the program write with DM | ||||
---|---|---|---|---|
| ||||
Posted in reply to younker | 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... > > 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 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... > > > > > 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 > > > > > > > > > > > > > > > > > > > > > > > > |
Copyright © 1999-2021 by the D Language Foundation