debuggertalk

debuggertalk - Debugging using Visual C+ Chuong Nguyen...

Info iconThis 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
Background image of page 1

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

View Full DocumentRight 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
Background 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
Background image of page 3

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

View Full DocumentRight 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
Background image of page 4
Image of page 5
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 12

debuggertalk - Debugging using Visual C+ Chuong Nguyen...

This preview shows document pages 1 - 5. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online