From 58b22369856fbab21011252a9b17c7b2cc7bb71a Mon Sep 17 00:00:00 2001 From: Levi Bard Date: Wed, 24 Nov 2010 15:06:03 +0100 Subject: [PATCH] [Debugger] Listen on any address when deferring. * mini/debugger-agent.c: Listen on any address when deferring. License: MIT/X11 --- mono/mini/debugger-agent.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mono/mini/debugger-agent.c b/mono/mini/debugger-agent.c index 69335e2b9f3..6ccb30b6df7 100644 --- a/mono/mini/debugger-agent.c +++ b/mono/mini/debugger-agent.c @@ -758,7 +758,7 @@ mono_debugger_agent_parse_options (char *options) if (agent_config.defer) { agent_config.server = TRUE; if (agent_config.address == NULL) { - agent_config.address = g_strdup_printf ("127.0.0.1:%u", 56000 + (GetCurrentProcessId () % 1000)); + agent_config.address = g_strdup_printf ("0.0.0.0:%u", 56000 + (GetCurrentProcessId () % 1000)); } } } else { @@ -2313,6 +2313,7 @@ suspend_current (void) while (suspend_count - tls->resume_count > 0) { #ifdef HOST_WIN32 + /* FIXME: https://bugzilla.novell.com/show_bug.cgi?id=587470 */ if (WAIT_TIMEOUT == WaitForSingleObject(suspend_cond, 0)) { mono_mutex_unlock (&suspend_mutex); -- GitLab