mirror of
https://github.com/ivellioscolin/pykd.git
synced 2025-04-21 04:13:22 +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) {
|
inline void setCurrentFrameByIndex( unsigned long frameIndex) {
|
||||||
AutoRestorePyState pystate;
|
AutoRestorePyState pystate;
|
||||||
kdlib::StackFramePtr stackFrame = kdlib::getStack()->getFrame(frameIndex);
|
kdlib::setCurrentStackFrameByIndex(frameIndex);
|
||||||
kdlib::setCurrentStackFrame(stackFrame);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
inline void resetCurrentFrame() {
|
inline void resetCurrentFrame() {
|
||||||
|
Loading…
Reference in New Issue
Block a user