diff options
| author | Pedro J. Estébanez | 2016-09-14 04:02:18 +0200 |
|---|---|---|
| committer | Pedro J. Estébanez | 2016-09-14 04:02:18 +0200 |
| commit | 66dac878ac9fc278044281b7f67fbed668e4523d (patch) | |
| tree | 2f1b099566a50eb624215a14ff837ed2f828fc59 /tools/editor/editor_run.cpp | |
| parent | 6f7b2d277fc068264b72b0a39d464da03807c628 (diff) | |
| download | godot-66dac878ac9fc278044281b7f67fbed668e4523d.tar.gz godot-66dac878ac9fc278044281b7f67fbed668e4523d.tar.zst godot-66dac878ac9fc278044281b7f67fbed668e4523d.zip | |
Improve debug focus behavior
Fix focusing debugged game on Windows
Add re-focusing editor on continue
Diffstat (limited to '')
| -rw-r--r-- | tools/editor/editor_run.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/editor/editor_run.cpp b/tools/editor/editor_run.cpp index fb0f24c08..5fbb4ae2a 100644 --- a/tools/editor/editor_run.cpp +++ b/tools/editor/editor_run.cpp @@ -52,6 +52,9 @@ Error EditorRun::run(const String& p_scene,const String p_custom_args,const List args.push_back("localhost:"+String::num(GLOBAL_DEF("debug/debug_port", 6007))); } + args.push_back("-epid"); + args.push_back(String::num(OS::get_singleton()->get_process_ID())); + if (p_custom_args!="") { Vector<String> cargs=p_custom_args.split(" ",false); @@ -132,6 +135,7 @@ Error EditorRun::run(const String& p_scene,const String p_custom_args,const List } + if (p_breakpoints.size()) { args.push_back("-bp"); |
