'Is there any way to create App crash report file in Ubuntu 18.04, just be similar as Mac Os's

Is there any way to create App crash report file in Ubuntu 18.04, just be similar as Mac Os's ? Now I get the app crash file in Mac Os. Because I'm a newer of Ubuntu Os, have no idea how to create the crash file in Ubuntu, is that created by kernel directly ? or write by my app's logger ? anyone can tell me the train of thoughts ? this is crash report of Mac's : enter image description here

Now I need to create a similar output files to report my app's crash message in Ubuntu 18.04 when app crash, help me please !



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source