<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: How To Debug C/c++ Pgm In Linux? (step-by-step Execution)?</title>
	<atom:link href="http://www.pcdebug.com/linux-debugging/how-to-debug-cc-pgm-in-linux-step-by-step-execution.html/feed" rel="self" type="application/rss+xml" />
	<link>http://www.pcdebug.com/linux-debugging/how-to-debug-cc-pgm-in-linux-step-by-step-execution.html</link>
	<description>Windows Linux Debuggers</description>
	<lastBuildDate>Mon, 04 Jan 2010 04:21:50 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Sheetal N</title>
		<link>http://www.pcdebug.com/linux-debugging/how-to-debug-cc-pgm-in-linux-step-by-step-execution.html/comment-page-1#comment-1318</link>
		<dc:creator>Sheetal N</dc:creator>
		<pubDate>Thu, 03 Dec 2009 12:50:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.pcdebug.com/linux-debugging/how-to-debug-cc-pgm-in-linux-step-by-step-execution.html#comment-1318</guid>
		<description>You can use gdb (the GNU debugger) to step through programs on Linux.
First, be sure to compile with the -g flag to include debugging information.
Then, run gdb &lt;program name&gt; to start debugging.
A few of the commands available are:
&gt; run
Starts the program
&gt; break &lt;line number&gt;
Create a breakpoint at &lt;line number&gt;.
&gt; step
Executes the current line of the program.
&gt; print &lt;variable&gt;
Prints out the value of &lt;variable&gt;.
There are a lot more commands available, and can be found by using the help command in gdb.  Additionally, there are a *ton* of gdb resources and guides available on the web.  
Hope this helps!</description>
		<content:encoded><![CDATA[<p>You can use gdb (the GNU debugger) to step through programs on Linux.<br />
First, be sure to compile with the -g flag to include debugging information.<br />
Then, run gdb
<program name> to start debugging.<br />
A few of the commands available are:<br />
> run<br />
Starts the program<br />
> break
<line number>
Create a breakpoint at </line>
<line number>.<br />
> step<br />
Executes the current line of the program.<br />
> print <variable><br />
Prints out the value of </variable><variable>.<br />
There are a lot more commands available, and can be found by using the help command in gdb.  Additionally, there are a *ton* of gdb resources and guides available on the web.<br />
Hope this helps!</variable></line></program>
]]></content:encoded>
	</item>
</channel>
</rss>
