projects
/
sdk
/
tools
/
netcoredbg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f60908b
)
Remove useless code
author
Igor Kulaychuk
<i.kulaychuk@samsung.com>
Wed, 13 Jun 2018 17:56:18 +0000
(20:56 +0300)
committer
Igor Kulaychuk
<i.kulaychuk@samsung.com>
Wed, 13 Jun 2018 17:56:18 +0000
(20:56 +0300)
src/debug/netcoredbg/frames.cpp
patch
|
blob
|
history
diff --git
a/src/debug/netcoredbg/frames.cpp
b/src/debug/netcoredbg/frames.cpp
index
f86a46c
..
7b3c11e
100644
(file)
--- a/
src/debug/netcoredbg/frames.cpp
+++ b/
src/debug/netcoredbg/frames.cpp
@@
-322,9
+322,10
@@
HRESULT WalkFrames(ICorDebugThread *pThread, WalkFramesCallback cb)
IfFailRet(UnwindNativeFrames(pThread, GetSP(&ctxUnmanagedChain), pEndVal, nFrames));
IfFailRet(StitchInternalFrames(pThread, iFrameCache, nFrames, cb));
- nFrames.clear();
- memset(&ctxUnmanagedChain, 0, sizeof(CONTEXT));
- ctxUnmanagedChainValid = false;
+ // After stitching frames they should be cleared like this:
+ // nFrames.clear();
+ // memset(&ctxUnmanagedChain, 0, sizeof(CONTEXT));
+ // ctxUnmanagedChainValid = false;
return S_OK;
}