I want to crash an application in order to produce the crash report and view it in Console.app. However, running sudo kill <pid>
or sudo kill -9 <pid>
closes the application but does not produce the Crash Report. The same with Force Quit.
I also googled for any "malware" application that can temper with program memory, "like WinDbg" can for Windows, but I could not find anything. All Google searches containing "mac", "app", and "crash" are about solutions to preventing apps from crashing.