提交 8898aea5 编写于 作者: L Lukasz Paczkowski

[debugger-agent] Continue single stepping if...

[debugger-agent] Continue single stepping if mono_debug_symfile_lookup_location returns an IL offset that is less than the requested one. Fixes case 727120
上级 564ce19c
......@@ -3915,6 +3915,11 @@ process_breakpoint_inner (DebuggerTlsData *tls, MonoContext *ctx)
if (minfo)
loc = mono_debug_symfile_lookup_location (minfo, sp->il_offset);
/* Continue single stepping if mono_debug_symfile_lookup_location returns
an IL offset that is less than the requested one. */
if(loc && loc->il_offset < sp->il_offset)
hit = FALSE;
if (!loc || (loc && ji->method == ss_req->last_method && loc->row == ss_req->last_line)) {
/* Have to continue single stepping */
DEBUG(1, fprintf (log_file, "[%p] Same source line, continuing single stepping.\n", (gpointer)GetCurrentThreadId ()));
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册