Debugging

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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
 
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 said:
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:
 
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
 
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
 
excellent, thanks

Ivan Brugiolo said:
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 said:
What's the difference between 6.2.13.1 and 6.25 beta?
Which should I go for?


"Carl Daniel [VC++ MVP]"
wrote in message news:ubPL%[email protected]...
 
Back
Top