<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Debugging on Ken Huang</title>
    <link>https://blog.kenhuang.io/tags/debugging/</link>
    <description>Recent content in Debugging on Ken Huang</description>
    <generator>Hugo</generator>
    <language>en</language>
    <managingEditor>whatacold@gmail.com (Ken Huang)</managingEditor>
    <webMaster>whatacold@gmail.com (Ken Huang)</webMaster>
    <lastBuildDate>Fri, 17 Oct 2025 20:28:45 +0800</lastBuildDate>
    <atom:link href="https://blog.kenhuang.io/tags/debugging/rss.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Emacs Debugging Techniques</title>
      <link>https://blog.kenhuang.io/blog/2022-07-17-emacs-elisp-debug/</link>
      <pubDate>Sun, 17 Jul 2022 09:57:31 +0800</pubDate><author>whatacold@gmail.com (Ken Huang)</author>
      <guid>https://blog.kenhuang.io/blog/2022-07-17-emacs-elisp-debug/</guid>
      <description>&lt;p&gt;&#xA;If you are new to Emacs, you may run into some errors, especially after you copied some elisp snippets from the Internet or elsewhere. Don&amp;#39;t panic! It happens, it&amp;#39;s just part of the learning process. Even an experienced Emacs user could run into there issues from time to time.&lt;/p&gt;&#xA;&lt;p&gt;&#xA;&lt;em&gt;BTW, I&amp;#39;m improving my English by watching YouTube videos every single day; If you&amp;#39;re also learning English, or any languages, LanguagePuppy can definitely help you. It&amp;#39;s a Chrome extension I developed using Clojure. Check it out:&lt;/em&gt;&lt;/p&gt;</description>
    </item>
    <item>
      <title>A Trick to Troubleshoot Emacs Subprocess Creating</title>
      <link>https://blog.kenhuang.io/blog/2020-05-30-a-trick-to-troubleshoot-emacs-subprocess-creating/</link>
      <pubDate>Sat, 30 May 2020 11:52:00 +0800</pubDate><author>whatacold@gmail.com (Ken Huang)</author>
      <guid>https://blog.kenhuang.io/blog/2020-05-30-a-trick-to-troubleshoot-emacs-subprocess-creating/</guid>
      <description>&lt;p&gt;&#xA;There are many packages of Emacs that leverage subprocesses to do their jobs, &lt;a href=&#34;https://magit.vc/&#34;&gt;Magit&lt;/a&gt;, &lt;a href=&#34;https://github.com/joaotavora/eglot&#34;&gt;eglot&lt;/a&gt;, &lt;a href=&#34;https://github.com/jorgenschaefer/elpy&#34;&gt;elpy&lt;/a&gt;, to name a few. And there are times that a subprocess doesn&amp;#39;t work as expected, for example, Magit is slow, and you&amp;#39;re sure that it&amp;#39;s ok when running git commands on shell. So how to spot these problems effectively and quickly?&lt;/p&gt;&#xA;&lt;p&gt;&#xA;The problem is that we don&amp;#39;t know what&amp;#39;s going on exactly, so here I want to share a few Elisp advices to make the subprocess creating visible, and print the exact program and its arguments to the &lt;code class=&#34;verbatim&#34;&gt;*Message*&lt;/code&gt; buffer. Visibility is the key.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
