115 def getCurrentFrame(self): |
115 def getCurrentFrame(self): |
116 """ |
116 """ |
117 Public method to return the current frame. |
117 Public method to return the current frame. |
118 |
118 |
119 @return the current frame |
119 @return the current frame |
120 """ |
120 @rtype frame object |
|
121 """ |
|
122 # Don't show any local frames after the program was stopped |
|
123 if self.quitting: |
|
124 return None |
|
125 |
121 return self.currentFrame |
126 return self.currentFrame |
122 |
127 |
123 def getFrameLocals(self, frmnr=0): |
128 def getFrameLocals(self, frmnr=0): |
124 """ |
129 """ |
125 Public method to return the locals dictionary of the current frame |
130 Public method to return the locals dictionary of the current frame |