{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

debuggertalk

debuggertalk - Debugging using Visual C Chuong Nguyen...

Info icon This preview shows pages 1–5. Sign up to view the full content.

View Full Document Right Arrow Icon
1 Chuong Nguyen - Fall '06 Debugging using Visual C++ Chuong Nguyen
Image of page 1

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Chuong Nguyen - Fall '06 2 Main Topics Why do I care? Development environment Editor Compiler Debugger IDE Debugging Locate a bug Find the cause Fix the bug Debugging in action
Image of page 2
Chuong Nguyen - Fall '06 3 Why do I care? Why don’t you? Write code Compile Test Something wrong Debug Understanding the concepts is critical. Also the “how to” helps you save hours or days (you can use that time to sleep, instead). This is a general debugging tutorial, using Visual C++ as an example
Image of page 3

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Chuong Nguyen - Fall '06 4 Development Environment Text Editor Simple application that lets you create raw (unformatted) documents, NO fancy features (NO bullet points, NO underlining, etc.) e.g. Notepad, Textpad | emacs, xemacs, vi, pico Compiler Complex application that converts your source code to machine language e.g. Microsoft C/C++ compiler | gcc, g++ Debugger Complex application that lets you walk through the execution of your program e.g. Microsoft Visual Studio debugger | gdb Integrated Development Environment (IDE) An IDE = Editor + Compiler + Debugger + other fancy features Visual C++ is an IDE
Image of page 4
Image of page 5
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}