c++ cli - WinDBG debugging a C++ /CLI module -
i'm trying use windbg debug c++/cli module loaded in application (autodesk revit). problem breakpoints set in unmanaged class methods not hit. have class :
class nativegeometryshape { public : nativegeometryshape() : width_(10), height_(12) {} int getarea() const; private : int width_; int height_; };
examining symbol gives following info :
0:000> x addon_revit2014!native* <msil:58bd350c > addon_revit2014!nativegeometryshape::getarea (void) <msil:58bd1264 > addon_revit2014!nativegeometryshape::nativegeometryshape (void) 58bd3500 addon_revit2014!nativegeometryshape::getarea (<no parameter info>) 58bd3520 addon_revit2014!nativegeometryshape::getarea (<no parameter info>) 58bd1258 addon_revit2014!nativegeometryshape::nativegeometryshape (<no parameter info>)
so i'm using bm command setup breakpoints :
0:000> bm addon_revit2014!native* 1: <msil:58bd350c > @!"addon_revit2014!nativegeometryshape::getarea" 2: <msil:58bd1264 > @!"addon_revit2014!nativegeometryshape::nativegeometryshape" 3: 58bd3500 @!"addon_revit2014!nativegeometryshape::getarea" 4: 58bd3520 @!"addon_revit2014!nativegeometryshape::getarea" 5: 58bd1258 @!"addon_revit2014!nativegeometryshape::nativegeometryshape"
however these breakpoints never hit, though objects of class instantiated , member functions called. ideas ?
try setting access breakpoint on members, , see when accessed, , function (ba r1 )
Comments
Post a Comment