diff options
author | Ignacio Etcheverry <neikeq@users.noreply.github.com> | 2019-02-03 07:33:01 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-02-03 07:33:01 +0100 |
commit | 248dbb251722432502e579a3ad6c4b5ed96af76f (patch) | |
tree | 23e06214b130fa268bbbc1cf9043e92d6d829655 /modules | |
parent | 4e4e889c751ac57a217ea924ea0a03e43bd3e6d6 (diff) | |
parent | d8593747e01ba4dd508be6e3cf917b0866deeab1 (diff) |
Merge pull request #25576 from neikeq/tt
Mono: Fix default debugger agent argument never being used
Diffstat (limited to 'modules')
-rw-r--r-- | modules/mono/mono_gd/gd_mono.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/mono/mono_gd/gd_mono.cpp b/modules/mono/mono_gd/gd_mono.cpp index 5ad383e99d..ca1ff9f9ff 100644 --- a/modules/mono/mono_gd/gd_mono.cpp +++ b/modules/mono/mono_gd/gd_mono.cpp @@ -121,7 +121,7 @@ void gdmono_debug_init() { CharString da_args = OS::get_singleton()->get_environment("GODOT_MONO_DEBUGGER_AGENT").utf8(); - if (da_args == "") { + if (da_args.length() == 0) { da_args = String("--debugger-agent=transport=dt_socket,address=127.0.0.1:" + itos(da_port) + ",embedding=1,server=y,suspend=" + (da_suspend ? "y,timeout=" + itos(da_timeout) : "n")) .utf8(); |