OK - picture the scenario. I want to develop a program using C++. I don't have any Visual Studio IDE (please don't say "but I thought you did" - this is for a different environment)
I am of the belief I can build unmanaged C++ applciations using all of the things available in the downloadable .NET SDK v1.1, which is free, and downloadable from MS in a huge 108 MB package
Now - I have thus got all I need to compile my C++ source code. I am perfectly happy to type my source code into notepad. This is in fact what I WANT to do.
Then I thought, this is all fine. But if I want to debug, what options do I have? I asked a question about where the standard downloadable debuggers were but all I got was a link to some kernel/DDK based page - I'm not into kernel or device driver development, just standard windows apps - but using the downloadable (free) SDK - what method do people normally employ to debug applications of this type - do they
a) get the application to create a console window to output messages? Or
b) use a standard debugger I haven't seen yet?
c) use a third party tool
d) Or do they have to pay for the IDE if they want to debug

Re: Debugging by Don

Don
Fri Feb 06 09:54:12 CST 2004

I use WinDBG for almost all of my debugging, kernel and user space. Of
course much of my user space code are sevices, but WinDBG is a fine debugger
for user space code, it just doesn't have some of the nice integration that
Visual Studio's debugger has.


--
Don Burn (MVP, Windows DDK)
Windows 2k/XP/2k3 Filesystem and Driver Consulting
Remove StopSpam from the email to reply

"Bonj" <anonymous@discussions.microsoft.com> wrote in message
news:9F07E31B-1434-4062-A881-C3C74F563412@microsoft.com...
> OK - picture the scenario. I want to develop a program using C++. I don't
have any Visual Studio IDE (please don't say "but I thought you did" - this
is for a different environment).
> I am of the belief I can build unmanaged C++ applciations using all of the
things available in the downloadable .NET SDK v1.1, which is free, and
downloadable from MS in a huge 108 MB package.
> Now - I have thus got all I need to compile my C++ source code. I am
perfectly happy to type my source code into notepad. This is in fact what I
WANT to do.
> Then I thought, this is all fine. But if I want to debug, what options do
I have? I asked a question about where the standard downloadable debuggers
were but all I got was a link to some kernel/DDK based page - I'm not into
kernel or device driver development, just standard windows apps - but using
the downloadable (free) SDK - what method do people normally employ to debug
applications of this type - do they:
> a) get the application to create a console window to output messages? Or :
> b) use a standard debugger I haven't seen yet?
> c) use a third party tool?
> d) Or do they have to pay for the IDE if they want to debug?
>
>



Re: Debugging by Carl

Carl
Fri Feb 06 10:17:38 CST 2004

http://www.microsoft.com/whdc/ddk/debugging/default.mspx

While the site does have 'DDK' in the URL, the debuggers that are in the
package can be (and are) used to debug user-mode applications as well. You
probably should learn to use WinDbg, but if you'd prefer something non-GUI,
there's NTSD and CDB as well - both of which are character-based console
apps.

-cd


Bonj wrote:
> OK - picture the scenario. I want to develop a program using C++. I
> don't have any Visual Studio IDE (please don't say "but I thought you
> did" - this is for a different environment).
> I am of the belief I can build unmanaged C++ applciations using all
> of the things available in the downloadable .NET SDK v1.1, which is
> free, and downloadable from MS in a huge 108 MB package.
> Now - I have thus got all I need to compile my C++ source code. I am
> perfectly happy to type my source code into notepad. This is in fact
> what I WANT to do.
> Then I thought, this is all fine. But if I want to debug, what
> options do I have? I asked a question about where the standard
> downloadable debuggers were but all I got was a link to some
> kernel/DDK based page - I'm not into kernel or device driver
> development, just standard windows apps - but using the downloadable
> (free) SDK - what method do people normally employ to debug
> applications of this type - do they: a) get the application to create
> a console window to output messages? Or :
> b) use a standard debugger I haven't seen yet?
> c) use a third party tool?
> d) Or do they have to pay for the IDE if they want to debug?



Re: Debugging by Bonj

Bonj
Fri Feb 06 12:04:34 CST 2004

excellent I'll check it out cheers.

"Carl Daniel [VC++ MVP]" <cpdaniel_remove_this_and_nospam@mvps.org.nospam>
wrote in message news:ubPL%23yM7DHA.2404@TK2MSFTNGP12.phx.gbl...
> http://www.microsoft.com/whdc/ddk/debugging/default.mspx
>
> While the site does have 'DDK' in the URL, the debuggers that are in the
> package can be (and are) used to debug user-mode applications as well.
You
> probably should learn to use WinDbg, but if you'd prefer something
non-GUI,
> there's NTSD and CDB as well - both of which are character-based console
> apps.
>
> -cd
>
>
> Bonj wrote:
> > OK - picture the scenario. I want to develop a program using C++. I
> > don't have any Visual Studio IDE (please don't say "but I thought you
> > did" - this is for a different environment).
> > I am of the belief I can build unmanaged C++ applciations using all
> > of the things available in the downloadable .NET SDK v1.1, which is
> > free, and downloadable from MS in a huge 108 MB package.
> > Now - I have thus got all I need to compile my C++ source code. I am
> > perfectly happy to type my source code into notepad. This is in fact
> > what I WANT to do.
> > Then I thought, this is all fine. But if I want to debug, what
> > options do I have? I asked a question about where the standard
> > downloadable debuggers were but all I got was a link to some
> > kernel/DDK based page - I'm not into kernel or device driver
> > development, just standard windows apps - but using the downloadable
> > (free) SDK - what method do people normally employ to debug
> > applications of this type - do they: a) get the application to create
> > a console window to output messages? Or :
> > b) use a standard debugger I haven't seen yet?
> > c) use a third party tool?
> > d) Or do they have to pay for the IDE if they want to debug?
>
>



Re: Debugging by Bonj

Bonj
Fri Feb 06 12:08:31 CST 2004

What's the difference between 6.2.13.1 and 6.25 beta?
Which should I go for?


"Carl Daniel [VC++ MVP]" <cpdaniel_remove_this_and_nospam@mvps.org.nospam>
wrote in message news:ubPL%23yM7DHA.2404@TK2MSFTNGP12.phx.gbl...
> http://www.microsoft.com/whdc/ddk/debugging/default.mspx
>
> While the site does have 'DDK' in the URL, the debuggers that are in the
> package can be (and are) used to debug user-mode applications as well.
You
> probably should learn to use WinDbg, but if you'd prefer something
non-GUI,
> there's NTSD and CDB as well - both of which are character-based console
> apps.
>
> -cd
>
>
> Bonj wrote:
> > OK - picture the scenario. I want to develop a program using C++. I
> > don't have any Visual Studio IDE (please don't say "but I thought you
> > did" - this is for a different environment).
> > I am of the belief I can build unmanaged C++ applciations using all
> > of the things available in the downloadable .NET SDK v1.1, which is
> > free, and downloadable from MS in a huge 108 MB package.
> > Now - I have thus got all I need to compile my C++ source code. I am
> > perfectly happy to type my source code into notepad. This is in fact
> > what I WANT to do.
> > Then I thought, this is all fine. But if I want to debug, what
> > options do I have? I asked a question about where the standard
> > downloadable debuggers were but all I got was a link to some
> > kernel/DDK based page - I'm not into kernel or device driver
> > development, just standard windows apps - but using the downloadable
> > (free) SDK - what method do people normally employ to debug
> > applications of this type - do they: a) get the application to create
> > a console window to output messages? Or :
> > b) use a standard debugger I haven't seen yet?
> > c) use a third party tool?
> > d) Or do they have to pay for the IDE if they want to debug?
>
>



Re: Debugging by Ivan

Ivan
Fri Feb 06 12:50:34 CST 2004

Get the latest one.
It has alway less bug than the previous version.
In any case, the dbgeng.dll (the core debugger, the executables are just
tiny shells on top of it)
is a fairly stable piece of code. Normally the beta works refers to the
"shell".

--
This posting is provided "AS IS" with no warranties, and confers no rights.
Use of any included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm


"Bonj" <a@b.com> wrote in message
news:OuPm0wN7DHA.3012@TK2MSFTNGP09.phx.gbl...
> What's the difference between 6.2.13.1 and 6.25 beta?
> Which should I go for?
>
>
> "Carl Daniel [VC++ MVP]" <cpdaniel_remove_this_and_nospam@mvps.org.nospam>
> wrote in message news:ubPL%23yM7DHA.2404@TK2MSFTNGP12.phx.gbl...
> > http://www.microsoft.com/whdc/ddk/debugging/default.mspx
> >
> > While the site does have 'DDK' in the URL, the debuggers that are in the
> > package can be (and are) used to debug user-mode applications as well.
> You
> > probably should learn to use WinDbg, but if you'd prefer something
> non-GUI,
> > there's NTSD and CDB as well - both of which are character-based console
> > apps.
> >
> > -cd
> >
> >
> > Bonj wrote:
> > > OK - picture the scenario. I want to develop a program using C++. I
> > > don't have any Visual Studio IDE (please don't say "but I thought you
> > > did" - this is for a different environment).
> > > I am of the belief I can build unmanaged C++ applciations using all
> > > of the things available in the downloadable .NET SDK v1.1, which is
> > > free, and downloadable from MS in a huge 108 MB package.
> > > Now - I have thus got all I need to compile my C++ source code. I am
> > > perfectly happy to type my source code into notepad. This is in fact
> > > what I WANT to do.
> > > Then I thought, this is all fine. But if I want to debug, what
> > > options do I have? I asked a question about where the standard
> > > downloadable debuggers were but all I got was a link to some
> > > kernel/DDK based page - I'm not into kernel or device driver
> > > development, just standard windows apps - but using the downloadable
> > > (free) SDK - what method do people normally employ to debug
> > > applications of this type - do they: a) get the application to create
> > > a console window to output messages? Or :
> > > b) use a standard debugger I haven't seen yet?
> > > c) use a third party tool?
> > > d) Or do they have to pay for the IDE if they want to debug?
> >
> >
>
>



Re: Debugging by Bonj

Bonj
Fri Feb 06 14:02:23 CST 2004

excellent, thanks

"Ivan Brugiolo [MSFT]" <ivanbrug@online.microsoft.com> wrote in message
news:e2FaaIO7DHA.3360@tk2msftngp13.phx.gbl...
> Get the latest one.
> It has alway less bug than the previous version.
> In any case, the dbgeng.dll (the core debugger, the executables are just
> tiny shells on top of it)
> is a fairly stable piece of code. Normally the beta works refers to the
> "shell".
>
> --
> This posting is provided "AS IS" with no warranties, and confers no
rights.
> Use of any included script samples are subject to the terms specified at
> http://www.microsoft.com/info/cpyright.htm
>
>
> "Bonj" <a@b.com> wrote in message
> news:OuPm0wN7DHA.3012@TK2MSFTNGP09.phx.gbl...
> > What's the difference between 6.2.13.1 and 6.25 beta?
> > Which should I go for?
> >
> >
> > "Carl Daniel [VC++ MVP]"
<cpdaniel_remove_this_and_nospam@mvps.org.nospam>
> > wrote in message news:ubPL%23yM7DHA.2404@TK2MSFTNGP12.phx.gbl...
> > > http://www.microsoft.com/whdc/ddk/debugging/default.mspx
> > >
> > > While the site does have 'DDK' in the URL, the debuggers that are in
the
> > > package can be (and are) used to debug user-mode applications as well.
> > You
> > > probably should learn to use WinDbg, but if you'd prefer something
> > non-GUI,
> > > there's NTSD and CDB as well - both of which are character-based
console
> > > apps.
> > >
> > > -cd
> > >
> > >
> > > Bonj wrote:
> > > > OK - picture the scenario. I want to develop a program using C++. I
> > > > don't have any Visual Studio IDE (please don't say "but I thought
you
> > > > did" - this is for a different environment).
> > > > I am of the belief I can build unmanaged C++ applciations using all
> > > > of the things available in the downloadable .NET SDK v1.1, which is
> > > > free, and downloadable from MS in a huge 108 MB package.
> > > > Now - I have thus got all I need to compile my C++ source code. I am
> > > > perfectly happy to type my source code into notepad. This is in fact
> > > > what I WANT to do.
> > > > Then I thought, this is all fine. But if I want to debug, what
> > > > options do I have? I asked a question about where the standard
> > > > downloadable debuggers were but all I got was a link to some
> > > > kernel/DDK based page - I'm not into kernel or device driver
> > > > development, just standard windows apps - but using the downloadable
> > > > (free) SDK - what method do people normally employ to debug
> > > > applications of this type - do they: a) get the application to
create
> > > > a console window to output messages? Or :
> > > > b) use a standard debugger I haven't seen yet?
> > > > c) use a third party tool?
> > > > d) Or do they have to pay for the IDE if they want to debug?
> > >
> > >
> >
> >
>
>