mirror of
https://github.com/ivellioscolin/pykd.git
synced 2025-04-20 03:23:23 +08:00
[0.3.x] fixed : setCurrentFrameByIndex
git-svn-id: https://pykd.svn.codeplex.com/svn@89553 9b283d60-5439-405e-af05-b73fd8c4d996
This commit is contained in:
parent
45a5f65570
commit
19d9ca7a92
@ -115,8 +115,7 @@ inline void setCurrentFrame( kdlib::StackFramePtr& stackFrame) {
|
||||
|
||||
inline void setCurrentFrameByIndex( unsigned long frameIndex) {
|
||||
AutoRestorePyState pystate;
|
||||
kdlib::StackFramePtr stackFrame = kdlib::getStack()->getFrame(frameIndex);
|
||||
kdlib::setCurrentStackFrame(stackFrame);
|
||||
kdlib::setCurrentStackFrameByIndex(frameIndex);
|
||||
}
|
||||
|
||||
inline void resetCurrentFrame() {
|
||||
|
Loading…
Reference in New Issue
Block a user