<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Debugger on Ghafoor's Personal Blog</title><link>http://ghafoorsblog.com/tags/debugger/</link><description>Recent content in Debugger on Ghafoor's Personal Blog</description><generator>Hugo</generator><language>en</language><managingEditor>noreply@example.com (AG Sayyed)</managingEditor><webMaster>noreply@example.com (AG Sayyed)</webMaster><copyright>Copyright © 2024-2026 AG Sayyed. All Rights Reserved.</copyright><lastBuildDate>Sat, 16 May 2026 17:42:12 +0100</lastBuildDate><atom:link href="http://ghafoorsblog.com/tags/debugger/index.xml" rel="self" type="application/rss+xml"/><item><title>Debug With PDB</title><link>http://ghafoorsblog.com/courses/google/it-automation-content/it-automation-python-pcert/04-troubleshooting-debugging/04-module/006-with-pdb/</link><pubDate>Thu, 13 Nov 2025 14:39:05 +0000</pubDate><author>noreply@example.com (AG Sayyed)</author><guid>http://ghafoorsblog.com/courses/google/it-automation-content/it-automation-python-pcert/04-troubleshooting-debugging/04-module/006-with-pdb/</guid><description>&lt;p class="lead text-primary"&gt;
This document explores debugging Python programs using PDB (Python DeBugger), the built-in interactive debugger that allows setting breakpoints, stepping through code, inspecting and modifying variables, evaluating expressions interactively, and performing post-mortem debugging after crashes.
&lt;/p&gt;
&lt;hr&gt;
&lt;h2 id="introduction"&gt;Introduction&lt;/h2&gt;
&lt;p&gt;Imagine developing a Python application to analyze vast amounts of textual data for sentiment scores. As the application processes data, it occasionally encounters unexpected formats, causing crashes. Given the data volume and application complexity, identifying root causes using simple &lt;code&gt;print()&lt;/code&gt; statements becomes increasingly challenging. This is where Python&amp;rsquo;s built-in interactive debugger, PDB, becomes essential.&lt;/p&gt;</description></item><item><title>Invalid Memory</title><link>http://ghafoorsblog.com/courses/google/it-automation-content/it-automation-python-pcert/04-troubleshooting-debugging/03-module/008-invalid-memory/</link><pubDate>Thu, 13 Nov 2025 11:56:57 +0000</pubDate><author>noreply@example.com (AG Sayyed)</author><guid>http://ghafoorsblog.com/courses/google/it-automation-content/it-automation-python-pcert/04-troubleshooting-debugging/03-module/008-invalid-memory/</guid><description>&lt;p class="lead text-primary"&gt;
This document explains invalid memory access errors in applications, covering how operating systems manage memory allocation, common causes of segmentation faults, debugging techniques using symbols and debuggers, and tools like valgrind for detecting memory issues before crashes occur.
&lt;/p&gt;
&lt;hr&gt;
&lt;h2 id="introduction"&gt;Introduction&lt;/h2&gt;
&lt;p&gt;One common reason applications crash is invalid memory access. Understanding how operating systems manage memory and the programming errors that lead to these crashes is essential for effective debugging and remediation.&lt;/p&gt;</description></item></channel></rss>