mirror of
https://github.com/ivellioscolin/pykd.git
synced 2025-04-19 02:53:22 +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 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")
|
||||
.def( "switchTo", StackFrameAdapter::switchTo,
|
||||
"Make this frame a current")
|
||||
//.def( "isInline", StackFrameAdapter::isInline,
|
||||
// "this virtual frame of inlined function" )
|
||||
//.def( "getFunciton", StackFrameAdapter::getFunction,
|
||||
// "return instance of the typedVar class representing function")
|
||||
.def( "isInline", StackFrameAdapter::isInline,
|
||||
"this virtual frame of inlined function" )
|
||||
.def( "findSymbol", StackFrameAdapter::findSymbol,
|
||||
"return symbol for frame's instruction pointer")
|
||||
//.def( "getSourceLine", StackFrameAdapter::getSourceLine,
|
||||
|
Loading…
Reference in New Issue
Block a user