315 self.__checkBreakInFrame(frame) or |
315 self.__checkBreakInFrame(frame) or |
316 Watch.watches != []): |
316 Watch.watches != []): |
317 return self.trace_dispatch |
317 return self.trace_dispatch |
318 else: |
318 else: |
319 # No need to trace this function |
319 # No need to trace this function |
320 return |
320 return |
321 |
321 |
322 if event == 'return': |
322 if event == 'return': |
323 return |
323 return |
324 |
324 |
325 if event == 'exception': |
325 if event == 'exception': |
418 |
418 |
419 @param cmd command / code to execute under debugger control |
419 @param cmd command / code to execute under debugger control |
420 @type str or CodeType |
420 @type str or CodeType |
421 @keyparam globals dictionary of global variables for cmd |
421 @keyparam globals dictionary of global variables for cmd |
422 @type dict |
422 @type dict |
423 @keyparam locals dictionary of local variables for cmd |
423 @keyparam locals dictionary of local variables for cmd |
424 @type dict |
424 @type dict |
|
425 @keyparam debug flag if command should run under debugger control |
|
426 @type bool |
425 """ |
427 """ |
426 if globals is None: |
428 if globals is None: |
427 import __main__ |
429 import __main__ |
428 globals = __main__.__dict__ |
430 globals = __main__.__dict__ |
429 |
431 |