<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>C debugging Archives - NeuralLantern.com</title>
	<atom:link href="https://www.NeuralLantern.com/tag/c-debugging-2/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.NeuralLantern.com/tag/c-debugging-2/</link>
	<description></description>
	<lastBuildDate>Mon, 23 Jun 2025 02:42:46 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.1.3</generator>

<image>
	<url>https://www.NeuralLantern.com/wp-content/uploads/2025/04/cropped-2025-04-04-Lantern-03-32x32.png</url>
	<title>C debugging Archives - NeuralLantern.com</title>
	<link>https://www.NeuralLantern.com/tag/c-debugging-2/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>DDD Debugger Tutorial: Fast Guide to Debugging C++ &#038; C Code</title>
		<link>https://www.NeuralLantern.com/ddd-debugger-tutorial-fast-guide-to-debugging-c-c-code/</link>
					<comments>https://www.NeuralLantern.com/ddd-debugger-tutorial-fast-guide-to-debugging-c-c-code/#respond</comments>
		
		<dc:creator><![CDATA[mike]]></dc:creator>
		<pubDate>Sun, 22 Jun 2025 13:42:41 +0000</pubDate>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[Computer Science]]></category>
		<category><![CDATA[Debugging]]></category>
		<category><![CDATA[Videos]]></category>
		<category><![CDATA[C debugging]]></category>
		<category><![CDATA[c++ debugging]]></category>
		<category><![CDATA[coding for beginners]]></category>
		<category><![CDATA[Data Display Debugger]]></category>
		<category><![CDATA[DDD debugger]]></category>
		<category><![CDATA[debugger GUI]]></category>
		<category><![CDATA[debugging tutorial]]></category>
		<category><![CDATA[GDB debugger]]></category>
		<category><![CDATA[learn to code]]></category>
		<category><![CDATA[programming tips]]></category>
		<category><![CDATA[programming tutorial]]></category>
		<category><![CDATA[set breakpoints]]></category>
		<category><![CDATA[software debugging]]></category>
		<category><![CDATA[source code debugging]]></category>
		<category><![CDATA[Ubuntu debugging]]></category>
		<guid isPermaLink="false">https://www.NeuralLantern.com/?p=161</guid>

					<description><![CDATA[<p>Learn DDD debugging fast! This tutorial covers breakpoints, source code, and GDB console for C++ &#038; C. Watch our GDB video first for better skills!</p>
<p>The post <a href="https://www.NeuralLantern.com/ddd-debugger-tutorial-fast-guide-to-debugging-c-c-code/">DDD Debugger Tutorial: Fast Guide to Debugging C++ &amp; C Code</a> appeared first on <a href="https://www.NeuralLantern.com">NeuralLantern.com</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<figure class="wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio"><div class="wp-block-embed__wrapper">
<iframe title="DDD Debugger Tutorial: Fast Guide to Debugging C++ &amp; C Code" width="1380" height="776" src="https://www.youtube.com/embed/jRsoOosxWuc?feature=oembed" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
</div></figure>



<p class="wp-block-paragraph">Hey coders! Dive into this quick DDD tutorial to learn the Data Display Debugger for C++ and C programs. See how to launch DDD, set breakpoints, view source code, and use the GDB console. I’ll walk you through the basics, but check my GDB video first for a better debugging foundation. If you’re new to GUI debuggers or just curious, this is for you! Subscribe for more programming tips, and let me know in the comments if you want advanced DDD content. Scan the QR code for more tutorials!</p>



<p class="wp-block-paragraph">Introduction to DDD 00:00:00<br>DDD vs GDB Comparison 00:00:04<br>Installation Instructions 00:00:56<br>Launching DDD 00:01:20<br>Source Code Window 00:01:57<br>Setting Breakpoints 00:03:16<br>Running and Debugging 00:04:08<br>GDB Console Commands 00:04:21<br>Modifying Breakpoints 00:05:20<br>Closing DDD 00:05:36<br>Recommendation to Learn GDB 00:05:48<br>Call to Subscribe 00:06:32<br>Website and Comments 00:07:17</p>



<p class="wp-block-paragraph">Thanks for watching!</p>



<p class="wp-block-paragraph">Find us on other social media here:</p>



<ul class="wp-block-list">
<li>https://www.NeuralLantern.com/social</li>
</ul>



<p class="wp-block-paragraph">Please help support us!</p>



<ul class="wp-block-list">
<li>Subscribing + Sharing on Social Media</li>



<li>Leaving a comment or suggestion</li>



<li>Subscribing to our Blog</li>



<li>Watching the main &#8220;pinned&#8221; video of this channel for offers and extras</li>
</ul>



<p class="wp-block-paragraph">DDD debugger, Data Display Debugger, debugging tutorial, C++ debugging, C debugging, GDB debugger, programming tutorial, software debugging, coding for beginners, debugger GUI, set breakpoints, source code debugging, Ubuntu debugging, learn to code, programming tips</p>



<p class="wp-block-paragraph">hey there in this video i&#8217;m going to give you a very very quick overview</p>



<p class="wp-block-paragraph">of a program called ddd which you can use to debug your programs</p>



<p class="wp-block-paragraph">disclaimer you should see my gdb video first before you watch this one because it&#8217;s much more</p>



<p class="wp-block-paragraph">useful and in my personal opinion gdb is a much better debugger than ddd ddd ddd is actually</p>



<p class="wp-block-paragraph">over GDB so it doesn&#8217;t really add any more functionality it&#8217;s sort of for</p>



<p class="wp-block-paragraph">people who like to use GUI&#8217;s but the GUI is not it&#8217;s not very good but it&#8217;s</p>



<p class="wp-block-paragraph">there if you&#8217;re still struggling with the command line anyway so yeah see my</p>



<p class="wp-block-paragraph">other video if you want to learn about make files if you want to learn about</p>



<p class="wp-block-paragraph">C++ C assembly GDB debugging all that stuff are in other videos but assuming</p>



<p class="wp-block-paragraph">that you know how to use GDB we can start on DDD now DDD anyway if you don&#8217;t</p>



<p class="wp-block-paragraph">Anyway, if you don&#8217;t have DDD on your system, you can go sudo apt install DDD.</p>



<p class="wp-block-paragraph">I&#8217;m on Ubuntu.</p>



<p class="wp-block-paragraph">You could use whatever package manage you have on your system like DNF or whatever.</p>



<p class="wp-block-paragraph">So sudo apt install DDD.</p>



<p class="wp-block-paragraph">I don&#8217;t have to do that because I already have it on my system, unfortunately.</p>



<p class="wp-block-paragraph">Anyway, so the first thing that you can do is you can sort of launch it with DDD up here.</p>



<p class="wp-block-paragraph">It&#8217;s called the data display debugger.</p>



<p class="wp-block-paragraph">You can launch it and then you can attach it to your program for me.</p>



<p class="wp-block-paragraph">attach it to your program for me i like to just launch it uh from the command line i&#8217;ll type ddd</p>



<p class="wp-block-paragraph">and then the name of my executable i&#8217;ll build my executable real fast again this all this stuff is</p>



<p class="wp-block-paragraph">in another video how to build and you know what so forth so i&#8217;m going to build my uh executable</p>



<p class="wp-block-paragraph">and there it is main so i&#8217;m going to go ddd main and this is the uh i can&#8217;t remember the name of</p>



<p class="wp-block-paragraph">display debugger yeah I don&#8217;t really like to use this anyway you can see that</p>



<p class="wp-block-paragraph">right away there is a source code window visible which sort of looks at your</p>



<p class="wp-block-paragraph">program&#8217;s source code if that&#8217;s not visible you can click on the view menu</p>



<p class="wp-block-paragraph">item up here and start you know enabling and disabling windows there&#8217;s a data</p>



<p class="wp-block-paragraph">window to let you look at data there&#8217;s a machine code window I&#8217;m just gonna</p>



<p class="wp-block-paragraph">basically make sure that the GDB console is up and that the source window is up</p>



<p class="wp-block-paragraph">when I closed both windows hoping that I could show you that I opened both of them it just shut</p>



<p class="wp-block-paragraph">down the whole program okay anyway so yeah click view and make sure that the source windows open</p>



<p class="wp-block-paragraph">so we can see our source code and then also make sure that the gdb console window is open so we can</p>



<p class="wp-block-paragraph">type gdb commands and then um well you know probably if you know gdb you&#8217;ll you&#8217;ll you&#8217;ll</p>



<p class="wp-block-paragraph">want to start typing commands here you know enter a breakpoint at main.cpp line you know</p>



<p class="wp-block-paragraph">dot cpp line you know whatever but once you start doing that a lot you&#8217;ll realize maybe you don&#8217;t</p>



<p class="wp-block-paragraph">need to be inside of ddd with ddd you can right click on a line and add a breakpoint manually so</p>



<p class="wp-block-paragraph">that&#8217;s a little convenient i think we can do can we do control mouse no there&#8217;s a lot of obscure</p>



<p class="wp-block-paragraph">areas here well you can go to the preferences and change the font size i think i&#8217;m not going to deal</p>



<p class="wp-block-paragraph">with that in this video but so suppose for the sake of argument i wanted to break at this line</p>



<p class="wp-block-paragraph">line right here I could just right click on it and I have to hold down the right</p>



<p class="wp-block-paragraph">mouse and say set breakpoint and then I could do the same thing for this set</p>



<p class="wp-block-paragraph">breakpoint and then for this set breakpoint so it&#8217;s a little more</p>



<p class="wp-block-paragraph">convenient a little bit faster if you like looking at the text in this way to</p>



<p class="wp-block-paragraph">set breakpoints and then you can disable breakpoints and you can delete breakpoints</p>



<p class="wp-block-paragraph">and you can reset the execution position if you&#8217;re absolutely sure you know what</p>



<p class="wp-block-paragraph">know what you&#8217;re doing you can have your program skip an area and jump somewhere and then once</p>



<p class="wp-block-paragraph">i&#8217;ve kind of set up my break points i can go up here at the top this is the uh i forgot what</p>



<p class="wp-block-paragraph">window this is called but i can basically hit run which i accidentally already clicked when i was</p>



<p class="wp-block-paragraph">trying to resize the window there we go oh i can&#8217;t resize it okay so we&#8217;ll go run and uh</p>



<p class="wp-block-paragraph">well now we&#8217;ve already hit a breakpoint right away notice how at the bottom in the gdb uh</p>



<p class="wp-block-paragraph">GDB console area it says breakpoint 2 at line 36 and then there&#8217;s a green arrow here letting</p>



<p class="wp-block-paragraph">us know that we hit one of our breakpoints already so then we can do normal GDB stuff</p>



<p class="wp-block-paragraph">we can go info breakpoints just to kind of see what&#8217;s in there and you can resize with this</p>



<p class="wp-block-paragraph">handle on the very right side I don&#8217;t think it works in the middle here I&#8217;ve tried it many times</p>



<p class="wp-block-paragraph">but so you can kind of resize with this handle on the right side to get more real estate for</p>



<p class="wp-block-paragraph">panel and so it&#8217;s telling me all right I did info breakpoints just to see the</p>



<p class="wp-block-paragraph">breakpoints I can go info locals to see my local variables like a print a</p>



<p class="wp-block-paragraph">variable you know all that all the normal GDB commands I&#8217;m gonna hit</p>



<p class="wp-block-paragraph">continue and five to skip the next five times this breakpoints get hit this</p>



<p class="wp-block-paragraph">breakpoint gets hit now the next breakpoint that gets hit is this other</p>



<p class="wp-block-paragraph">one over here I can do the same thing info locals I can see the state of all</p>



<p class="wp-block-paragraph">what is b you know what is i what is a what is whatever and when i&#8217;m finished i can say continue</p>



<p class="wp-block-paragraph">and i can also modify my breakpoints by just sort of like deleting them enabling them disabling them</p>



<p class="wp-block-paragraph">but that&#8217;s me trying to type everything in the terminal of course with ddd you can right click</p>



<p class="wp-block-paragraph">on a breakpoint and disable it or delete it and so forth when you&#8217;re eventually done let&#8217;s see</p>



<p class="wp-block-paragraph">kill the process and then you can just kind of exit DDD at this point or you can exit</p>



<p class="wp-block-paragraph">the GDB console with Q and that&#8217;s it that&#8217;s the basics for DDD.</p>



<p class="wp-block-paragraph">However again I strongly encourage you to learn GDB first and by the time you do that</p>



<p class="wp-block-paragraph">you will probably not want to use DDD.</p>



<p class="wp-block-paragraph">But I have to put up this video regardless.</p>



<p class="wp-block-paragraph">Let me know if you&#8217;re interested in very advanced stuff covering DDD.</p>



<p class="wp-block-paragraph">20 years, I might upload another DDD video. You never know.</p>



<p class="wp-block-paragraph">Okay, thanks for watching this video.</p>



<p class="wp-block-paragraph">I hope you learned a little bit, and I hope you go directly to the GDB video after this.</p>



<p class="wp-block-paragraph">See you in the next one.</p>



<p class="wp-block-paragraph">Hey everybody, thanks for watching this video again from the bottom of my heart. I really</p>



<p class="wp-block-paragraph">appreciate it. I do hope you did learn something and have some fun. If you could do me a please,</p>



<p class="wp-block-paragraph">Could you please subscribe and follow this channel or these videos or whatever it is you do on the current social media</p>



<p class="wp-block-paragraph">Website that you&#8217;re looking at right now</p>



<p class="wp-block-paragraph">It would really mean the world to me and it&#8217;ll help make more videos and grow this community</p>



<p class="wp-block-paragraph">So we&#8217;ll be able to do more videos longer videos better videos or just I&#8217;ll be able to keep making videos in general</p>



<p class="wp-block-paragraph">So please do do me a kindness and and subscribe</p>



<p class="wp-block-paragraph">You know sometimes I&#8217;m sleeping in the middle of the night and I just wake up because I know somebody subscribed or followed</p>



<p class="wp-block-paragraph">subscribed or followed. It just wakes me up and I get filled with joy. That&#8217;s exactly what happens</p>



<p class="wp-block-paragraph">every single time. So you could do it as a nice favor to me or you could you could troll me if</p>



<p class="wp-block-paragraph">you want to just wake me up in the middle of the night just subscribe and then I&#8217;ll just wake up.</p>



<p class="wp-block-paragraph">I promise that&#8217;s what will happen. Also if you look at the middle of the screen right now you</p>



<p class="wp-block-paragraph">should see a QR code which you can scan in order to go to the website which I think is also named</p>



<p class="wp-block-paragraph">somewhere at the bottom of this video and it&#8217;ll take you to my main website where you can just</p>



<p class="wp-block-paragraph">all the videos i published and the services and tutorials and things that i offer and all that</p>



<p class="wp-block-paragraph">good stuff and uh if you have a suggestion for uh uh clarifications or errata or just future videos</p>



<p class="wp-block-paragraph">that you want to see please leave a comment or if you just want to say hey what&#8217;s up what&#8217;s going on</p>



<p class="wp-block-paragraph">you know just send me a comment whatever i also wake up for those in the middle of the night i</p>



<p class="wp-block-paragraph">get i wake up in a cold sweat and i&#8217;m like it would really it really mean the world to me i</p>



<p class="wp-block-paragraph">really appreciate it. So again, thank you so much for watching this video and enjoy the cool music</p>



<p class="wp-block-paragraph">as I fade into the darkness, which is coming for us all.</p>



<p class="wp-block-paragraph">Thank you.</p>
<p>The post <a href="https://www.NeuralLantern.com/ddd-debugger-tutorial-fast-guide-to-debugging-c-c-code/">DDD Debugger Tutorial: Fast Guide to Debugging C++ &amp; C Code</a> appeared first on <a href="https://www.NeuralLantern.com">NeuralLantern.com</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.NeuralLantern.com/ddd-debugger-tutorial-fast-guide-to-debugging-c-c-code/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Master CGDB: Boost Your Debugging with GDB’s Curses Interface in Terminal</title>
		<link>https://www.NeuralLantern.com/master-cgdb-boost-your-debugging-with-gdbs-curses-interface-in-terminal/</link>
					<comments>https://www.NeuralLantern.com/master-cgdb-boost-your-debugging-with-gdbs-curses-interface-in-terminal/#respond</comments>
		
		<dc:creator><![CDATA[mike]]></dc:creator>
		<pubDate>Sun, 15 Jun 2025 23:08:57 +0000</pubDate>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[Computer Science]]></category>
		<category><![CDATA[Debugging]]></category>
		<category><![CDATA[Videos]]></category>
		<category><![CDATA[assembly debugging]]></category>
		<category><![CDATA[C debugging]]></category>
		<category><![CDATA[c++ debugging]]></category>
		<category><![CDATA[CGDB]]></category>
		<category><![CDATA[coding tutorial]]></category>
		<category><![CDATA[curses interface]]></category>
		<category><![CDATA[debugging tools]]></category>
		<category><![CDATA[GDB]]></category>
		<category><![CDATA[software development]]></category>
		<category><![CDATA[terminal debugging]]></category>
		<guid isPermaLink="false">https://www.NeuralLantern.com/?p=158</guid>

					<description><![CDATA[<p>Learn CGDB, a GDB curses layer for terminal debugging. View source code &#038; breakpoints in one window. Ideal for C++, C, &#038; assembly!</p>
<p>The post <a href="https://www.NeuralLantern.com/master-cgdb-boost-your-debugging-with-gdbs-curses-interface-in-terminal/">Master CGDB: Boost Your Debugging with GDB’s Curses Interface in Terminal</a> appeared first on <a href="https://www.NeuralLantern.com">NeuralLantern.com</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<figure class="wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio"><div class="wp-block-embed__wrapper">
<iframe title="Master CGDB: Boost Your Debugging with GDB&#039;s Curses Interface in Terminal" width="1380" height="776" src="https://www.youtube.com/embed/grU1mA3W8K4?feature=oembed" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
</div></figure>



<p class="wp-block-paragraph">Hey coders! In this video, I’m diving into CGDB, a powerful curses layer on top of GDB that makes terminal debugging a breeze. See your source code and breakpoints side-by-side in one clean interface. I’ll walk you through setup, breakpoints, and why CGDB rocks for C++, C, and assembly projects. Watch my GDB video first for the basics (link in comments)! If you dig this, subscribe and drop a comment for more coding tips. Let’s debug smarter! #CGDB #GDB #Debugging #Coding</p>



<p class="wp-block-paragraph">Introduction to CGDB 00:00:00<br>Recommendation to Watch GDB Video 00:00:05<br>Explanation of CGDB and Curses 00:00:23<br>Building and Running CGDB 00:01:03<br>CGDB Interface Overview 00:01:56<br>Setting Breakpoints in CGDB 00:02:18<br>Managing Breakpoints 00:02:53<br>Benefits of CGDB 00:03:47<br>Closing Remarks and Subscription Request 00:04:00<br>Call for Comments and Suggestions 00:05:30</p>



<p class="wp-block-paragraph">Thanks for watching!</p>



<p class="wp-block-paragraph">Find us on other social media here:</p>



<ul class="wp-block-list">
<li>https://www.NeuralLantern.com/social</li>
</ul>



<p class="wp-block-paragraph">Please help support us!</p>



<ul class="wp-block-list">
<li>Subscribing + Sharing on Social Media</li>



<li>Leaving a comment or suggestion</li>



<li>Subscribing to our Blog</li>



<li>Watching the main &#8220;pinned&#8221; video of this channel for offers and extras</li>
</ul>



<p class="wp-block-paragraph">Hey everybody! In this video I&#8217;m going to talk about CGDB which is just a debugging program.</p>



<p class="wp-block-paragraph">If you haven&#8217;t seen my other video on GDB please watch that first because</p>



<p class="wp-block-paragraph">I go over all the concepts of debugging an assembly program, a C++ program, a C program</p>



<p class="wp-block-paragraph">and it&#8217;ll be much more useful than this video.</p>



<p class="wp-block-paragraph">This video is just about CGDB which is really a curses layer on top of GDB.</p>



<p class="wp-block-paragraph">on top of GDB. Curses is a library that allows programmers to kind of make</p>



<p class="wp-block-paragraph">graphical interfaces in the terminal so the point of this video is just to show</p>



<p class="wp-block-paragraph">you a slightly different way to use GDB that&#8217;s why I&#8217;m saying go check out the</p>



<p class="wp-block-paragraph">previous GDB video first but you know I think you know sometimes people like CG</p>



<p class="wp-block-paragraph">to be so what am I talking about for starters pretend that I have a program</p>



<p class="wp-block-paragraph">I&#8217;ve got an assembly module a C++ module and a make file you don&#8217;t know</p>



<p class="wp-block-paragraph">or C++, see my other videos.</p>



<p class="wp-block-paragraph">This video is only about CGDB.</p>



<p class="wp-block-paragraph">But I can do, you know, make build,</p>



<p class="wp-block-paragraph">just to build my objects and my executable.</p>



<p class="wp-block-paragraph">And then normally, if you know GDB,</p>



<p class="wp-block-paragraph">you can go GDB main and just enter the GDB terminal, right?</p>



<p class="wp-block-paragraph">This is great, you can do a lot of commands from here,</p>



<p class="wp-block-paragraph">but it&#8217;s not very graphical.</p>



<p class="wp-block-paragraph">It does have a graphical mode, to be honest,</p>



<p class="wp-block-paragraph">but it seems to be kind of glitchy,</p>



<p class="wp-block-paragraph">so I&#8217;m not really gonna talk about it.</p>



<p class="wp-block-paragraph">going to talk about it anyway so instead of launching your program inside of gdb you can</p>



<p class="wp-block-paragraph">launch your program with c gdb c standing for curses i don&#8217;t think this is installed on the</p>



<p class="wp-block-paragraph">current system so i&#8217;ll probably have to install it right okay so you can go sudo apt install c gdb</p>



<p class="wp-block-paragraph">and then just enter your password</p>



<p class="wp-block-paragraph">Let me do clear and then we&#8217;ll do CGDB main.</p>



<p class="wp-block-paragraph">And I just want you to see that it&#8217;s got two windows.</p>



<p class="wp-block-paragraph">This is the whole point for me anyway.</p>



<p class="wp-block-paragraph">The bottom window is actually GDB.</p>



<p class="wp-block-paragraph">So anything you&#8217;ve learned there is going to apply here.</p>



<p class="wp-block-paragraph">But the difference is that there&#8217;s a top panel that shows your source code.</p>



<p class="wp-block-paragraph">So I don&#8217;t know.</p>



<p class="wp-block-paragraph">Let&#8217;s suppose for the sake of argument, I&#8217;m going to hit escape so I can go up to the top panel and kind of scroll my source code.</p>



<p class="wp-block-paragraph">Let&#8217;s suppose for the sake of argument, I want to break every time I hit line 36.</p>



<p class="wp-block-paragraph">time I hit line 36 okay I&#8217;m kind of scrolling I just hit escape to get into the top panel</p>



<p class="wp-block-paragraph">I&#8217;m gonna hit I for interactive mode which lets me go back down to the bottom panel</p>



<p class="wp-block-paragraph">and then I&#8217;ll just say B for breakpoints main.cpp line 36 and then just double check that I entered</p>



<p class="wp-block-paragraph">my breakpoints correctly and then I&#8217;ll run the program again if you don&#8217;t know GDB see my other</p>



<p class="wp-block-paragraph">video but notice how I started to run the program and then it immediately hit a breakpoint and then</p>



<p class="wp-block-paragraph">the top pointed to that line where it broke if you don&#8217;t believe me i&#8217;ll do another breakpoint</p>



<p class="wp-block-paragraph">at line let&#8217;s see main.cpp line maybe uh 32 and then another one at uh 39 well maybe i should</p>



<p class="wp-block-paragraph">have done 40. yeah i should have done 40 and then 33 so that means i probably want to uh</p>



<p class="wp-block-paragraph">delete that one at 32 so i&#8217;m gonna delete whichever one shows up at 32 that&#8217;s number two</p>



<p class="wp-block-paragraph">and then info breakpoints again okay so now if i continue the program also by the way notice how</p>



<p class="wp-block-paragraph">the top panel is showing red line numbers for my breakpoints if i hit c for continue</p>



<p class="wp-block-paragraph">and it hits the same breakpoint again if i hit enter to continue one more time it&#8217;ll do that</p>



<p class="wp-block-paragraph">eventually it hits a different breakpoint and notice how the source code</p>



<p class="wp-block-paragraph">moves down to the appropriate breakpoint so for me personally i kind of like to just regularly you</p>



<p class="wp-block-paragraph">and then go back and forth between that and my code window.</p>



<p class="wp-block-paragraph">But some people really love having both their code and GDB in the same terminal</p>



<p class="wp-block-paragraph">so they don&#8217;t have to go back and forth between windows.</p>



<p class="wp-block-paragraph">So if that&#8217;s you, then maybe CGDB is for you.</p>



<p class="wp-block-paragraph">My little doggy wants to go pee.</p>



<p class="wp-block-paragraph">Okay, that&#8217;s all I have for this video.</p>



<p class="wp-block-paragraph">Thank you so much for watching,</p>



<p class="wp-block-paragraph">and I hope you learned a little bit of stuff and had a little bit of fun.</p>



<p class="wp-block-paragraph">I&#8217;ll see you in the next video.</p>



<p class="wp-block-paragraph">Hey, everybody.</p>



<p class="wp-block-paragraph">Hey everybody!</p>



<p class="wp-block-paragraph">Thanks for watching this video again from the bottom of my heart.</p>



<p class="wp-block-paragraph">I really appreciate it.</p>



<p class="wp-block-paragraph">I do hope you did learn something and have some fun.</p>



<p class="wp-block-paragraph">If you could do me a please, a small little favor,</p>



<p class="wp-block-paragraph">could you please subscribe and follow this channel or these videos</p>



<p class="wp-block-paragraph">or whatever it is you do on the current social media website</p>



<p class="wp-block-paragraph">that you&#8217;re looking at right now.</p>



<p class="wp-block-paragraph">It would really mean the world to me and it&#8217;ll help make more videos</p>



<p class="wp-block-paragraph">and grow this community.</p>



<p class="wp-block-paragraph">So we&#8217;ll be able to do more videos, longer videos, better videos,</p>



<p class="wp-block-paragraph">or just i&#8217;ll be able to keep making videos in general so please do do me a kindness and uh and</p>



<p class="wp-block-paragraph">subscribe you know sometimes i&#8217;m sleeping in the middle of the night and i just wake up because i</p>



<p class="wp-block-paragraph">know somebody subscribed or followed it just wakes me up and i get filled with joy that&#8217;s exactly what</p>



<p class="wp-block-paragraph">happens every single time so you could do it as a nice favor to me or you could you control me if</p>



<p class="wp-block-paragraph">you want to just wake me up in the middle of the night just subscribe and then i&#8217;ll i&#8217;ll just wake</p>



<p class="wp-block-paragraph">up i promise that&#8217;s what will happen also uh if you look at the middle of the screen right now you</p>



<p class="wp-block-paragraph">of the screen right now you should see a qr code which you can scan in order to go to the website</p>



<p class="wp-block-paragraph">which i think is also named somewhere at the bottom of this video and it&#8217;ll take you to my</p>



<p class="wp-block-paragraph">main website where you can just kind of like see all the videos i published and the services and</p>



<p class="wp-block-paragraph">tutorials and things that i offer and all that good stuff and uh if you have a suggestion for uh</p>



<p class="wp-block-paragraph">clarifications or errata or just future videos that you want to see please leave a comment or</p>



<p class="wp-block-paragraph">up what&#8217;s going on you know just send me a comment whatever i also wake up for those in the middle of</p>



<p class="wp-block-paragraph">the night i get i wake up in a cold sweat and i&#8217;m like it would really it really mean the world to</p>



<p class="wp-block-paragraph">me i would really appreciate it so again thank you so much for watching this video and um enjoy the</p>



<p class="wp-block-paragraph">cool music as as i fade into the darkness which is coming for us all</p>



<p class="wp-block-paragraph">Thank you.</p>
<p>The post <a href="https://www.NeuralLantern.com/master-cgdb-boost-your-debugging-with-gdbs-curses-interface-in-terminal/">Master CGDB: Boost Your Debugging with GDB’s Curses Interface in Terminal</a> appeared first on <a href="https://www.NeuralLantern.com">NeuralLantern.com</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.NeuralLantern.com/master-cgdb-boost-your-debugging-with-gdbs-curses-interface-in-terminal/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
