Analyzing Core Dump

Is there an updated way to analyze the core dump? The Mongoose docs seem to be out of date. There isn’t a Makefile in mongoose-os/platforms/esp32, so I can’t run the make command…

1 Like

Run mos debug-core-dump in the root directory of your application. You will need to have docker installed on your computer.

If you run mos console in the root directory of your application and a core dump occurs, the mos tool will catch and analyse it, provided docker is installed.

2 Likes

That worked. Thank you for your help :slight_smile:

What is docker. Is it an application? Please provide official link to it.

https://www.google.com/search?q=docker

2 Likes

For sure, from terminal you can run all the same mos commands as you would in the web browser.
eg: mos debug-core-dump will attempt to analyse the core dump file in the same directory, or mos console will connect do your device over serial and show messages in the terminal

If I try a mos command from the root directory of my app in VS Code, I get this:
“The term ‘mos’ is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path
is correct and try again.”