diff options
author | Jan Kotas <jkotas@microsoft.com> | 2018-02-09 09:40:42 -0800 |
---|---|---|
committer | Jan Kotas <jkotas@microsoft.com> | 2018-02-09 09:40:42 -0800 |
commit | a3dc83e91bbba4413f20fbaf3072c167a79224cc (patch) | |
tree | 5e599a15d173ad0c44d7fcb39bf07f19e4a011a3 /src/debug/di/shimprocess.cpp | |
parent | 2afd62a9b8356d8cd22efd611d4cf5a2677d0c85 (diff) | |
download | coreclr-a3dc83e91bbba4413f20fbaf3072c167a79224cc.tar.gz coreclr-a3dc83e91bbba4413f20fbaf3072c167a79224cc.tar.bz2 coreclr-a3dc83e91bbba4413f20fbaf3072c167a79224cc.zip |
Revert "Debugger api to set a breakpoint on offset 0 of all methods (#15819)"
This reverts commit 3d689d00843618105e735c5647e1cb64e721a333.
Diffstat (limited to 'src/debug/di/shimprocess.cpp')
-rw-r--r-- | src/debug/di/shimprocess.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/debug/di/shimprocess.cpp b/src/debug/di/shimprocess.cpp index 99967a2af9..46c35fdc2b 100644 --- a/src/debug/di/shimprocess.cpp +++ b/src/debug/di/shimprocess.cpp @@ -365,12 +365,12 @@ DWORD WINAPI CallStopGoThreadProc(LPVOID parameter) // Calling Stop + Continue will synchronize the process and force any queued events to be called. // Stop is synchronous and will block until debuggee is synchronized. hr = pProc->Stop(INFINITE); - SIMPLIFYING_ASSUMPTION_SUCCEEDED(hr); + SIMPLIFYING_ASSUMPTION(SUCCEEDED(hr)); // Continue will resume the debuggee. If there are queued events (which we expect in this case) // then continue will drain the event queue instead of actually resuming the process. hr = pProc->Continue(FALSE); - SIMPLIFYING_ASSUMPTION_SUCCEEDED(hr); + SIMPLIFYING_ASSUMPTION(SUCCEEDED(hr)); // This thread just needs to trigger an event dispatch. Now that it's done that, it can exit. return 0; @@ -833,7 +833,7 @@ HRESULT ShimProcess::HandleWin32DebugEvent(const DEBUG_EVENT * pEvent) EX_CATCH_HRESULT(hrIgnore); // Dont' expect errors here (but could probably return it up to become an // unrecoverable error if necessary). We still want to call Continue thought. - SIMPLIFYING_ASSUMPTION_SUCCEEDED(hrIgnore); + SIMPLIFYING_ASSUMPTION(SUCCEEDED(hrIgnore)); // // Continue the debuggee if needed. @@ -873,7 +873,7 @@ HRESULT ShimProcess::HandleWin32DebugEvent(const DEBUG_EVENT * pEvent) { ::Sleep(500); hrIgnore = GetNativePipeline()->EnsureThreadsRunning(); - SIMPLIFYING_ASSUMPTION_SUCCEEDED(hrIgnore); + SIMPLIFYING_ASSUMPTION(SUCCEEDED(hrIgnore)); } } } |