<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Sep 11, 2017, at 4:05 PM, Leonard Mosescu <<a href="mailto:mosescu@google.com" class="">mosescu@google.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="gmail-im" style="font-size:12.8px"><br class=""></span><span style="font-size:12.8px" class="">Process already has "Error Process::WillResume()" for this very reason. Just have the Windows mini dump core file plug-in override it. The code in Process::Resume already checks this:</span><br style="font-size:12.8px" class=""><span style="font-size:12.8px" class="">Status Process::PrivateResume() {<br class=""></span><span style="font-size:12.8px" class="">  Status error(WillResume());<br class=""></span><span style="font-size:12.8px" class="">  // Tell the process it is about to resume before the thread list<br class=""></span><span style="font-size:12.8px" class="">  if (error.Success()) {<br class=""></span><span style="font-size:12.8px" class="">      ...<br class=""></span><span style="font-size:12.8px" class="">    }<br class=""></span><span style="font-size:12.8px" class="">  }<br class=""></span><span style="font-size:12.8px" class="">  return error;<br class=""></span><span style="font-size:12.8px" class="">}</span><br style="font-size:12.8px" class=""><span style="font-size:12.8px" class="">Problem solved no???</span></blockquote><div class=""><br class=""></div><div class="">It would be great, but that also happens too late (by the time PrivateResume() is called the state has been already changed)</div></div></div></blockquote><br class=""></div><div>We could call Process::WillResume() before Process::PrivateResume() before it changes the state... Probably still need to call it in PrivateResume() since a complex thread plan might start and stop the process many times and the process might crash and there would only be one main Process::Continue, or thread step that kicks off the initial run.</div><div><br class=""></div><div>Greg</div><div><br class=""></div><br class=""></body></html>