Open pavel-orekhov opened 3 years ago
I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label.
Most exact area is "ICorDebug interface using". Maybe intersection of following area-Debugger-mono, area-TypeSystem-coreclr, area-VM-coreclr
Tagging subscribers to this area: @tommcdon See info in area-owners.md if you want to be subscribed.
Author: | pavel-orekhov |
---|---|
Assignees: | - |
Labels: | `area-Diagnostics-coreclr`, `untriaged` |
Milestone: | - |
@hoyosjs @sdmaclea
Hello! I work on
netcoredbg
. My goal is to eval/print dynamic fromICorDebugManagedCallback::Breakpoint
ofICorDebugValue (frame_var)
of codeICorDebugValue ("ii")->GetType()
returnsELEMENT_TYPE_I4
and allright. Over attrs are ii: size=4 CorElementType=8 ExactCorElementType=8 CORTypeId=(7ffa4f7cb1e8,0) isRef=0 isBoxed=0 isValueClass=0 type="System.Int32"for dynamic var a ref returns (at amd64):
after dereference (
ICorDebugReferenceValue::Dereference
)CorElementType=ELEMENT_TYPE_VALUETYPE
How to dereference/unbox
di
tillELEMENT_TYPE_I4
to get raw numeric value?cc @alpencolt @viewizard