<?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>curses interface Archives - NeuralLantern.com</title>
	<atom:link href="https://www.NeuralLantern.com/tag/curses-interface/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.NeuralLantern.com/tag/curses-interface/</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.0</generator>

<image>
	<url>https://www.NeuralLantern.com/wp-content/uploads/2025/04/cropped-2025-04-04-Lantern-03-32x32.png</url>
	<title>curses interface Archives - NeuralLantern.com</title>
	<link>https://www.NeuralLantern.com/tag/curses-interface/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<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>
