Module implementing the debug base class.
DebugBase | Class implementing base class of the debugger. |
printerr | Module function used for debugging the debug client. |
Class implementing base class of the debugger.
Provides simple wrapper methods around bdb for the 'owning' client to call to step etc.
DebugBase | Constructor |
break_anywhere | Reimplemented from bdb.py to do some special things. |
break_here | Reimplemented from bdb.py to fix the filename from the frame. |
dispatch_exception | Reimplemented from bdb.py to always call user_exception. |
dispatch_line | Reimplemented from bdb.py to do some special things. |
dispatch_return | Reimplemented from bdb.py to handle passive mode cleanly. |
do_clear | Private method called to clear a temporary breakpoint. |
extract_stack | Protected member to return a list of stack frames. |
fix_frame_filename | Protected method used to fixup the filename for a given frame. |
getCurrentFrame | Public method to return the current frame. |
get_break | Reimplemented from bdb.py to get the first breakpoint of a particular line. |
go | Public method to resume the thread. |
set_continue | Reimplemented from bdb.py to always get informed of exceptions. |
set_quit | Public method to quit. |
step | Public method to perform a step operation in this thread. |
stepOut | Public method to perform a step out of the current call. |
stop_here | Reimplemented to filter out debugger files. |
user_exception | Reimplemented to report an exception to the debug server. |
user_line | Reimplemented to handle the program about to execute a particular line. |
user_return | Reimplemented to report program termination to the debug server. |
Constructor
Reimplemented from bdb.py to do some special things. These speciality is to fix the filename from the frame (see fix_frame_filename for more info).
Reimplemented from bdb.py to fix the filename from the frame. See fix_frame_filename for more info.
Reimplemented from bdb.py to always call user_exception.
Reimplemented from bdb.py to do some special things. These speciality is to check the connection to the debug server for new events (i.e. new breakpoints) while we are going through the code.
Reimplemented from bdb.py to handle passive mode cleanly.
Private method called to clear a temporary breakpoint.
Protected member to return a list of stack frames.
Protected method used to fixup the filename for a given frame. The logic employed here is that if a module was loaded from a .pyc file, then the correct .py to operate with should be in the same path as the .pyc. The reason this logic is needed is that when a .pyc file is generated, the filename embedded and thus what is readable in the code object of the frame object is the fully qualified filepath when the pyc is generated. If files are moved from machine to machine this can break debugging as the .pyc will refer to the .py on the original machine. Another case might be sharing code over a network... This logic deals with that.
Public method to return the current frame.
Reimplemented from bdb.py to get the first breakpoint of a particular line. Because eric3 supports only one breakpoint per line, this overwritten method will return this one and only breakpoint.
Public method to resume the thread.
It resumes the thread stopping only at breakpoints or exceptions.
Reimplemented from bdb.py to always get informed of exceptions.
Public method to quit. It wraps call to bdb to clear the current frame properly.
Public method to perform a step operation in this thread.
Public method to perform a step out of the current call.
Reimplemented to filter out debugger files. Tracing is turned off for files that are part of the debugger that are called from the application being debugged.
Reimplemented to report an exception to the debug server.
Reimplemented to handle the program about to execute a particular line.
Reimplemented to report program termination to the debug server.
Module function used for debugging the debug client. Arguments