mirror of
https://github.com/ivellioscolin/pykd.git
synced 2025-04-20 03:23:23 +08:00
added : stackFrame::isInline method
This commit is contained in:
parent
5d57560ec5
commit
877968ca92
@ -72,6 +72,12 @@ public:
|
|||||||
}
|
}
|
||||||
|
|
||||||
static python::tuple findSymbol(kdlib::StackFramePtr& frame);
|
static python::tuple findSymbol(kdlib::StackFramePtr& frame);
|
||||||
|
|
||||||
|
static bool isInline(kdlib::StackFramePtr& frame)
|
||||||
|
{
|
||||||
|
AutoRestorePyState pystate;
|
||||||
|
return frame->isInline();
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
/////////////////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////////////////
|
||||||
|
@ -1117,10 +1117,8 @@ void pykd_init()
|
|||||||
"return the function's local variable by it's name")
|
"return the function's local variable by it's name")
|
||||||
.def( "switchTo", StackFrameAdapter::switchTo,
|
.def( "switchTo", StackFrameAdapter::switchTo,
|
||||||
"Make this frame a current")
|
"Make this frame a current")
|
||||||
//.def( "isInline", StackFrameAdapter::isInline,
|
.def( "isInline", StackFrameAdapter::isInline,
|
||||||
// "this virtual frame of inlined function" )
|
"this virtual frame of inlined function" )
|
||||||
//.def( "getFunciton", StackFrameAdapter::getFunction,
|
|
||||||
// "return instance of the typedVar class representing function")
|
|
||||||
.def( "findSymbol", StackFrameAdapter::findSymbol,
|
.def( "findSymbol", StackFrameAdapter::findSymbol,
|
||||||
"return symbol for frame's instruction pointer")
|
"return symbol for frame's instruction pointer")
|
||||||
//.def( "getSourceLine", StackFrameAdapter::getSourceLine,
|
//.def( "getSourceLine", StackFrameAdapter::getSourceLine,
|
||||||
|
Loading…
Reference in New Issue
Block a user