Fix step with stackalloc (#27246) (#27351)
authorSteve MacLean <Steve.MacLean@microsoft.com>
Tue, 22 Oct 2019 20:58:15 +0000 (16:58 -0400)
committerGitHub <noreply@github.com>
Tue, 22 Oct 2019 20:58:15 +0000 (16:58 -0400)
commit30583ce8b3816f6855b14f6f855db604db23cfc4
tree88e74688182572588c131764446bf33ba31baf9d
parent7a8e08cac71924a301d96dbac6dcb283677e93b1
Fix step with stackalloc (#27246) (#27351)

* Make ControllerStackInfo::m_returnFrame private

* Make ControllerStackInfo always capture a return frame

In case the active frame has no managed caller, capture
the unmanaged frame

* Fix step over stackalloc

Generalize handling of stack allocations and stepping

* Fix GetFunctionFromToken() argument checking

Check token type is a method before creating a CordbFunction.

Add extra assert to check for invalid tokens
src/debug/di/module.cpp
src/debug/di/rsfunction.cpp
src/debug/di/rspriv.h
src/debug/ee/controller.cpp
src/debug/ee/controller.h
src/debug/ee/frameinfo.cpp
src/debug/ee/frameinfo.h
src/inc/regdisp.h