Fix step with stackalloc (#27246) (#27351) accepted/tizen_5.5_unified_mobile_hotfix accepted/tizen/5.5/unified/mobile/hotfix/20201103.003335 submit/tizen_5.5_mobile_hotfix/20201030.060307
authorSteve MacLean <Steve.MacLean@microsoft.com>
Tue, 22 Oct 2019 20:58:15 +0000 (16:58 -0400)
committerHyungju Lee <leee.lee@samsung.com>
Fri, 30 Oct 2020 09:27:38 +0000 (18:27 +0900)
commitbe1aa1bf368dd47765d429ee0e557d8cb26f9bfd
tree6121d87a7d7a547b18e4bb1f8f2021af23d223aa
parent4c3b471c380dcc01579c18ae5756480d27cd1ea1
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