diff options
author | Mark Florisson <markflorisson88@gmail.com> | 2010-10-31 22:34:38 +0100 |
---|---|---|
committer | Mark Florisson <markflorisson88@gmail.com> | 2010-10-31 22:34:38 +0100 |
commit | 1327c85b930e6de3f7c4100a22d1c244ceb3e74d (patch) | |
tree | c3e8add818a4166a5b1ded5365e622a5bcc9ef4b /cygdb.py | |
parent | f1e63d52189d9bfe148e420185cc864e6bdfc240 (diff) | |
download | cython-1327c85b930e6de3f7c4100a22d1c244ceb3e74d.tar.gz |
dispatch based on frame
python code stepping (for libpython and libcython)
generic stepper class
fix step-into functions
have cygdb accept a '--' command line argument to disable automatic importing
replace gdb.execute() with something that actually captures all output
have 'cy break' break properly on line numbers
Diffstat (limited to 'cygdb.py')
-rw-r--r-- | cygdb.py | 11 |
1 files changed, 9 insertions, 2 deletions
@@ -6,7 +6,14 @@ from Cython.Debugger import Cygdb as cygdb if __name__ == '__main__': if len(sys.argv) > 1: - cygdb.main(path_to_debug_info=sys.argv[1], - gdb_argv=sys.argv[2:]) + path_to_debug_info = sys.argv[1] + + no_import = False + if path_to_debug_info == '--': + no_import = True + + cygdb.main(path_to_debug_info, + gdb_argv=sys.argv[2:], + no_import=no_import) else: cygdb.main() |