On 9 May 2014 14:07, MM <finjulh...@gmail.com> wrote: > On 9 May 2014 11:55, Detlev Offenbach <det...@die-offenbachs.de> wrote: > >> >> Am 09.05.2014 um 11:49 schrieb MM <finjulh...@gmail.com>: >> >> Hi, >> >> 1. If I have been typing may commands, how can I go to the last line of >> the shell with a keyboard shortcut rather than the mouse and the scrollbar? >> >> See the keyboard shortcuts dialog for all shortcuts defined. >> > > Thanks, I couldn't see that dialog. > > Competion works with Tab. > But say I typed: os.listdir( > Is there a way to list the expected arguments at that point, without going > through help? > > Thanks again, > MM >
A debugger question below: I am debugging a python script that a recursive function, but it only ever goes as deep as 4 levels. It is recursing over a filesystem with 4 level of directories, at the bottom leaves there are may files. I put a breakpoint in the level where i deal with a file. Every time the debugger breaks, the call stack is identical. However after the 4th or 5th break, stepping becomes extremely slow, and eventually I get a MemoryError from within: File "C:\Python34\Lib\site-packages\eric5\DebugClients\Python3\DebugClientBase.py", line 1177, in __unhandled_exception self.mainThread.user_exception(None, (exctype, excval, exctb), True) File "C:\Python34\Lib\site-packages\eric5\DebugClients\Python3\DebugBase.py", line 720, in user_exception argInfo.keywords, argInfo.locals) File "C:\Python34\lib\inspect.py", line 1113, in formatargvalues specs.append(convert(args[i])) File "C:\Python34\lib\inspect.py", line 1110, in convert return formatarg(name) + formatvalue(locals[name]) File "C:\Python34\lib\inspect.py", line 1101, in <lambda> formatvalue=lambda value: '=' + repr(value)): Original exception was: Traceback (most recent call last): File "C:\Python34\Lib\site-packages\eric5\DebugClients\Python3\DebugClient.py", line 38, in <module> debugClient.main() File "C:\Python34\Lib\site-packages\eric5\DebugClients\Python3\DebugClientBase.py", line 2143, in main self.__interact() File "C:\Python34\Lib\site-packages\eric5\DebugClients\Python3\DebugClientBase.py", line 1047, in __interact self.eventLoop() File "C:\Python34\Lib\site-packages\eric5\DebugClients\Python3\DebugClientBase.py", line 1075, in eventLoop self.readReady(self.readstream.fileno()) File "C:\Python34\Lib\site-packages\eric5\DebugClients\Python3\AsyncIO.py", line 65, in readReady self.handleLine(s) File "C:\Python34\Lib\site-packages\eric5\DebugClients\Python3\DebugClientBase.py", line 529, in handleLine res = self.mainThread.run(code, self.debugMod.__dict__) File "C:\Python34\lib\bdb.py", line 431, in run exec(cmd, globals, locals) -------------- MY CODE -------------- File "C:\Python34\Lib\site-packages\eric5\DebugClients\Python3\DebugBase.py", line 220, in trace_dispatch return self.dispatch_exception(frame, arg) File "C:\Python34\Lib\site-packages\eric5\DebugClients\Python3\DebugBase.py", line 273, in dispatch_exception self.user_exception(frame, arg) File "C:\Python34\Lib\site-packages\eric5\DebugClients\Python3\DebugBase.py", line 720, in user_exception argInfo.keywords, argInfo.locals) File "C:\Python34\lib\inspect.py", line 1113, in formatargvalues specs.append(convert(args[i])) File "C:\Python34\lib\inspect.py", line 1110, in convert return formatarg(name) + formatvalue(locals[name]) File "C:\Python34\lib\inspect.py", line 1101, in <lambda> formatvalue=lambda value: '=' + repr(value)): MemoryError
_______________________________________________ Eric mailing list Eric@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/eric