提交 58b22369 编写于 作者: L Levi Bard

[Debugger] Listen on any address when deferring.

 * mini/debugger-agent.c: Listen on any address when deferring.

License: MIT/X11
上级 bc8fac37
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册