Thread: MCVC++.NET Debugger

  1. #1
    essence of digital xddxogm3's Avatar
    Join Date
    Sep 2003
    Posts
    589

    MCVC++.NET Debugger

    Can anybody recomend a book or website that provides a help on using the debugger? I'm uneducated in the debug features and I feel this is a big boundry in my programming.
    "Hence to fight and conquer in all your battles is not supreme excellence;
    supreme excellence consists in breaking the enemy's resistance without fighting."
    Art of War Sun Tzu

  2. #2
    Master of the Universe! velius's Avatar
    Join Date
    Sep 2003
    Posts
    219
    The debugger with .Net is not really worth using. There are many of third party debuggers that are much better. However the simple thing of it is, is to run your program in the debugger after setting a break point and then step through the code and view the results in the output pane. That is the essence of what to do.
    While you're breakin' down my back n'
    I been rackin' out my brain
    It don't matter how we make it
    'Cause it always ends the same
    You can push it for more mileage
    But your flaps r' wearin' thin
    And I could sleep on it 'til mornin'
    But this nightmare never ends
    Don't forget to call my lawyers
    With ridiculous demands
    An you can take the pity so far
    But it's more than I can stand
    'Cause this couchtrip's gettin' older
    Tell me how long has it been
    'Cause 5 years is forever
    An you haven't grown up yet
    -- You Could Be Mine - Guns N' Roses

  3. #3
    Hardware Engineer
    Join Date
    Sep 2001
    Posts
    1,398

    I have a book....

    I have a book called Using Visual C++. It has one chapter on using the debugger.

    My copy is outdated (MSVC++ 5?), and I really didn't get much out of the book, because it uses MFC, and all the wizards to sort-of write your application for you... and I wanted to "get under the hood" and learn the WinAPI. But, there are a few interesting gems that should be in a MSVC++ user manual!

  4. #4
    Registered User CompiledMonkey's Avatar
    Join Date
    Feb 2002
    Location
    Richmond, VA
    Posts
    438
    Doug, you might want to consider spending your time with something other than MFC. It looks like you're interested in Windows programming and with the coming of Longhorn, you'll be learning an entirely new API. I wouldn't spend too much time on something which will be out of date in a few years. Maybe consider checking out the .NET framework instead.

  5. #5
    Hardware Engineer
    Join Date
    Sep 2001
    Posts
    1,398

    MFC

    Thanks CompiledMonkey, but like I said: "I really didn't get much out of the book, because it uses MFC... and I wanted to... learn the WinAPI."

    I do have Petzold's book, and Schildts's similar book. I don't see how the Longhorn API can be THAT much different. If Longhorn doesn't run the existing applications (written with the Win32 API), they aren't going to sell very many copies!!! Win32 is more entrenched than Win16 was when Windows95 was introduced.

  6. #6
    Registered User CompiledMonkey's Avatar
    Join Date
    Feb 2002
    Location
    Richmond, VA
    Posts
    438

    Re: MFC

    Originally posted by DougDbug
    Thanks CompiledMonkey, but like I said: "I really didn't get much out of the book, because it uses MFC... and I wanted to... learn the WinAPI."

    I do have Petzold's book, and Schildts's similar book. I don't see how the Longhorn API can be THAT much different. If Longhorn doesn't run the existing applications (written with the Win32 API), they aren't going to sell very many copies!!! Win32 is more entrenched than Win16 was when Windows95 was introduced.
    Obviously Longhorn will run older applications, but it will be in a managed container I'm sure. The whole idea behind Longhorn is managed code. I've been told by a MS developer that Longhorn will have 30k APIs for use by a .NET developer. I was also told about 97% of the operating system itself will be written in managed code. I would seriously spend my time working with the .NET framework and VS.NET instead of MSVC++ 6.0 and current Windows APIs.

  7. #7
    Registered User glUser3f's Avatar
    Join Date
    Aug 2003
    Posts
    345
    ehm, do you mean that the current Win32 API isn't going to be the main API for programming Windows in Longhorn?
    BTW, Longhorn was delayed till 2006.

  8. #8
    Registered User CompiledMonkey's Avatar
    Join Date
    Feb 2002
    Location
    Richmond, VA
    Posts
    438
    Originally posted by glUser3f
    ehm, do you mean that the current Win32 API isn't going to be the main API for programming Windows in Longhorn?
    BTW, Longhorn was delayed till 2006.
    From what I understand, no it will not. Basically everything from now onward from MS will be .NET. I know Longhorn was delayed and I actually hope they never set a release date. I'd rather have it RTM when it is done. Not be rushed out.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Some .NET Distribution Stats
    By nickname_changed in forum C# Programming
    Replies: 2
    Last Post: 05-14-2005, 03:41 AM
  2. Visual c++ .NET Debugger problem
    By CartoonLarry in forum Windows Programming
    Replies: 4
    Last Post: 09-23-2004, 11:08 PM
  3. IE 6 status bar
    By DavidP in forum Tech Board
    Replies: 15
    Last Post: 10-23-2002, 05:31 PM
  4. .net
    By ygfperson in forum A Brief History of Cprogramming.com
    Replies: 18
    Last Post: 02-15-2002, 01:15 AM
  5. Visual J#
    By mfc2themax in forum A Brief History of Cprogramming.com
    Replies: 0
    Last Post: 10-08-2001, 02:41 PM