<?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>Data Display Debugger Archives - NeuralLantern.com</title>
	<atom:link href="https://www.NeuralLantern.com/tag/data-display-debugger/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.NeuralLantern.com/tag/data-display-debugger/</link>
	<description></description>
	<lastBuildDate>Mon, 23 Jun 2025 02:42:25 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.0</generator>

<image>
	<url>https://www.NeuralLantern.com/wp-content/uploads/2025/04/cropped-2025-04-04-Lantern-03-32x32.png</url>
	<title>Data Display Debugger Archives - NeuralLantern.com</title>
	<link>https://www.NeuralLantern.com/tag/data-display-debugger/</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>
	</channel>
</rss>
