mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Added a crash handler to dump the backtrace on Windows, Linux and OS X
This commit is contained in:
parent
8be9e8b484
commit
60cf34b968
23 changed files with 782 additions and 13 deletions
|
|
@ -945,6 +945,10 @@ void ProjectManager::_open_project_confirm() {
|
|||
|
||||
args.push_back("-editor");
|
||||
|
||||
if (OS::get_singleton()->is_disable_crash_handler()) {
|
||||
args.push_back("--disable-crash-handler");
|
||||
}
|
||||
|
||||
String exec = OS::get_singleton()->get_executable_path();
|
||||
|
||||
OS::ProcessID pid = 0;
|
||||
|
|
@ -985,6 +989,10 @@ void ProjectManager::_run_project_confirm() {
|
|||
args.push_back("-path");
|
||||
args.push_back(path);
|
||||
|
||||
if (OS::get_singleton()->is_disable_crash_handler()) {
|
||||
args.push_back("--disable-crash-handler");
|
||||
}
|
||||
|
||||
String exec = OS::get_singleton()->get_executable_path();
|
||||
|
||||
OS::ProcessID pid = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue