<p>Please consider both commercial and free debuggers. Would like to see also the pros and cons for each.</p>

[{'answer_id': 80586, 'author': 'Espo', 'author_id': 2257, 'author_profile': 'https://Stackoverflow.com/users/2257', 'pm_score': 2, 'selected': False, 'text': '<p>I haven\'t used it myself, so I can\'t comment on the pros/cons , but one commercial alternative is <a href="http://www.roguewave.com/products/totalview.aspx" rel="nofollow noreferrer">TotalView</a>.</p>\n\n<p>There is also <a href="http://www.gnu.org/software/ddd/" rel="nofollow noreferrer">DDD</a> that gives you a frontend to GDB, but i guess you have already tried/used that?</p>\n'}, {'answer_id': 80590, 'author': 'paxdiablo', 'author_id': 14860, 'author_profile': 'https://Stackoverflow.com/users/14860', 'pm_score': 1, 'selected': False, 'text': "<p><code>UndoDB</code> sounds interesting, in that it allows &quot;reverse stepping&quot;,  however; it's expensive, and I'm well adapted to <code>gdb</code>, so I'm unlikely to change. Others I've seen don't have the extra features required to entice me away from the environment that I know.</p>\n"}, {'answer_id': 80606, 'author': 'BCS', 'author_id': 1343, 'author_profile': 'https://Stackoverflow.com/users/1343', 'pm_score': 2, 'selected': False, 'text': '<p><a href="http://www.zerobugs.org/" rel="nofollow noreferrer">zerobugs</a></p>\n'}, {'answer_id': 80620, 'author': 'noid', 'author_id': 13340, 'author_profile': 'https://Stackoverflow.com/users/13340', 'pm_score': 2, 'selected': False, 'text': '<p>For debugging Assembly code, there\'s <a href="http://ald.sourceforge.net/" rel="nofollow noreferrer">ALD</a>.</p>\n'}, {'answer_id': 80660, 'author': 'Robert Gould', 'author_id': 15124, 'author_profile': 'https://Stackoverflow.com/users/15124', 'pm_score': 1, 'selected': False, 'text': "<p>Going off on a ledge here, but if you're up to it, Sun's MDB is great, especially if you use lots of templates and threaded code. It beats GDB hands down if that's your situation. On the other hand, it's not that great if all you need are breakpoints, I'd stick with GDB in that case.</p>\n"}, {'answer_id': 80778, 'author': 'Community', 'author_id': -1, 'author_profile': 'https://Stackoverflow.com/users/-1', 'pm_score': 3, 'selected': False, 'text': '<p>nemiver is a great front end to gdb (looks better than ddd imo even though it might not be as advanced yet).</p>\n'}, {'answer_id': 81086, 'author': 'Community', 'author_id': -1, 'author_profile': 'https://Stackoverflow.com/users/-1', 'pm_score': 2, 'selected': False, 'text': '<p>emacs has a great front end to gdb too.</p>\n'}, {'answer_id': 731355, 'author': 'Daniel Sloof', 'author_id': 51133, 'author_profile': 'https://Stackoverflow.com/users/51133', 'pm_score': 3, 'selected': False, 'text': '<p>I really like <a href="http://freshmeat.sourceforge.net/projects/edebugger/" rel="noreferrer">EDB (Evan\'s Debugger)</a>.</p>\n<p>It has a nice \'OllyDBG feel\', which was great because I used it quite a deal when I was still working on the windows platform.</p>\n<blockquote>\n<p>EDB (Evan\'s Debugger) is a QT4 based\nbinary mode debugger with the goal of\nhaving usability on par with OllyDbg.\nIt uses a plugin architecture, so\nadding new features can be done with\nease. The current release is for\nLinux, but future releases will target\nmore platforms.</p>\n</blockquote>\n<p><a href="https://i.stack.imgur.com/HR0Wq.png" rel="noreferrer"><img src="https://i.stack.imgur.com/HR0Wq.png" alt="" /></a><br />\n<sub>(source: <a href="http://www.softpedia.com/screenshots/thumbs/EDB-Evan-s-Debugger-19734-thumb.png" rel="noreferrer">softpedia.com</a>)</sub></p>\n<p><br>(clickable)</p>\n'}, {'answer_id': 1358963, 'author': 'Michael Ekstrand', 'author_id': 1385039, 'author_profile': 'https://Stackoverflow.com/users/1385039', 'pm_score': 3, 'selected': False, 'text': "<p>On Linux, most debugging is handled via GDB.  As others have mentioned, however, it is not necessary to use GDB directly.  A variety of options exist, some mentioned in previous answers:</p>\n\n<ul>\n<li>Emacs (has a GDB frontend)</li>\n<li>DDD (Motif-based, somewhat quirky, graphical interface with excellent data inspection capabilities)</li>\n<li>Nemiver (GTK-based frontend)</li>\n<li>Eclipse</li>\n<li>Code::Blocks</li>\n<li>NetBeans can probably do it as well</li>\n<li>Anjuta (Gnome IDE)</li>\n</ul>\n\n<p>Of these, I've used DDD and tried Nemiver.  At the time, Nemiver was short on features, and thus didn't work very well for me.  That was two years ago, though.  I've often used DDD, and find its data viewing excellent and worth working with its UI.  I also frequently just use gdb from the command line, though.</p>\n"}, {'answer_id': 2335293, 'author': 'osgx', 'author_id': 196561, 'author_profile': 'https://Stackoverflow.com/users/196561', 'pm_score': 2, 'selected': False, 'text': "<p>Sun's <code>dbx</code> from Sun Studio works in Linux too.</p>\n"}, {'answer_id': 8562840, 'author': 'Anonymous', 'author_id': 1106095, 'author_profile': 'https://Stackoverflow.com/users/1106095', 'pm_score': 1, 'selected': False, 'text': '<p>A good frontend to GDB that hasn\'t been mentioned is <a href="http://sourceware.org/insight/" rel="nofollow noreferrer">Insight</a>.</p>\n'}]
['https://Stackoverflow.com/questions/80563', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/1692070/']