Copyright ã1996 by NeXT Software, Inc.  All Rights Reserved.

;../../05_SpecialTasks/11_DynamicLoading/DynamicLoading.rtfd;;¬  Next Chapter	;../09_Building/Building.rtfd;;¬  Previous Chapter

Building and Debugging

10	Basic Debugging

The Project Builder Launch panel provides an interface to the Free Software 
Foundation's gdb debugger. You can set breakpoints, step through source code 
a line at a time, and examine the values of variables. The panel also allows you 
to perform any and all gdb commands and to run programs outside of the debugger.

;StartingADebuggingSession.rtfd;Startingadebuggingsession;,  Starting a debugging session	;ExecutingSeveralLinesOfCode.rtfd;;¬  Executing several lines of code

;RunningTheProgramInTheDebugger.rtfd;Runningtheprograminthedebugger;,  Running the program in the debugger	;ExaminingTheValueOfAVariableOrAnObject.rtfd;Examiningthevalueofavariableoranobject;,  Examining the value of a variable or an object

;InterruptingTheProgram.rtfd;Interruptingtheprogram;,  Interrupting the program	;NavigatingUsingTheStack.rtfd;Navigatingusingthestack;,  Navigating using the stack

;ExecutingASingleLineOfCode.rtfd;Executingasinglelineofcode;,  Executing a single line of code	;DebuggingObjectAllocationAndDeallocation.rtfd;Debuggingobjectallocationanddeallocation;,  Debugging object allocation and deallocation

;SteppingIntoAMethodOrFunction.rtfd;Steppingintoamethodorfunction;,  Stepping into a method or function	;DebuggingAMultithreadedProgram.rtfd;Debuggingamultithreadedprogram;,  Debugging a multithreaded program

;SettingBreakpoints.rtfd;Settingbreakpoints;,  Setting breakpoints	;ChangingProgramExecutionWhileDebugging.rtfd;Changingprogramexecutionwhiledebugging;,  Changing program execution while debugging

;ManagingBreakpoints.rtfd;Managingbreakpoints;,  Managing breakpoints	;ChangingCodeWhileDebugging.rtfd;Changingcodewhiledebugging;,  Changing code while debugging

;DebuggingConcepts.rtfd;;,  Related Concepts	;DebuggingMultipleProjects.rtfd;Debuggingmultipleprojects;,  Debugging multiple projects

A fly, Sir, may sting a stately horse and make him wince; but
one is but an insect, and the other is a horse still.
	Samuel Johnson

Errors, like straws, upon the surface flow;
He who would search for pearls must dive below.
	John Dryden