Roger Serwy <[email protected]> added the comment:
Debugger.py has a method "in_rpc_code" which ultimately prevents stepping
though code from rpc.py. (Presently an external file named "rpc.py" can not be
debugged using IDLE.)
Adding "run.py" to the check would prevent run.py from being stepped, but it
applies to *any* "run.py" in the filename string:
elif frame.f_code.co_filename.count('run.py'):
return True
Or, you could check the name:
elif frame.f_globals.get('__name__','') == 'idlelib.run':
return True
Any additional logic for "in_rpc_code" can slow down code performance when
debugging.
Another possible approach is to move the _RPCFile into rpc.py add additional
methods to RPCHandler, like "get_remote_stdout_proxy".
----------
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue15335>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com