How to crash an application to produce Crash Report I want to crash an application in order to produce the crash report and view it in Console.app. However, running sudo kill &lt;pid&gt; or sudo kill -9 &lt;pid&gt; closes the application but does not produce the Crash Report. The same with Force Quit.
I also googled for any &quot;malware&quot; application that can temper with program memory, &quot;like WinDbg&quot; can for Windows, but I could not find anything. All Google searches containing &quot;mac&quot;, &quot;app&quot;, and &quot;crash&quot; are about solutions to preventing apps from crashing.
It turns out that sending SIGKILL (kill -9) to an application is a bit too abrupt, the same goes for SIGTERM (kill -15). Instead, sending SIGQUIT (kill -3) worked, and SIGABRT (kill -6). The application I killed was Activity Monitor, but it should work with other macOS applications as well (The real macOS ones, that ship with OS, Console works and Safari as well). You just need to wait a couple of seconds if the application killed had big memory footprint, because it takes some time to produce the Crash Report.