<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On 9 May 2014 14:07, MM <span dir="ltr"><<a href="mailto:finjulhich@gmail.com" target="_blank">finjulhich@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div dir="ltr"><div class="gmail_extra"><div class=""><div class="gmail_quote">On 9 May 2014 11:55, Detlev Offenbach <span dir="ltr"><<a href="mailto:detlev@die-offenbachs.de" target="_blank">detlev@die-offenbachs.de</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div style="word-wrap:break-word"><br><div><div>Am 09.05.2014 um 11:49 schrieb MM <<a href="mailto:finjulhich@gmail.com" target="_blank">finjulhich@gmail.com</a>>:</div>
<div><blockquote type="cite"><div dir="ltr">Hi,<div><br></div><div>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?</div>
</div></blockquote><div>See the keyboard shortcuts dialog for all shortcuts defined.<br></div></div></div></div></blockquote><div> </div></div></div>Thanks, I couldn't see that dialog.</div><div class="gmail_extra"><br>
</div>
<div class="gmail_extra">Competion works with Tab.</div><div class="gmail_extra">But say I typed: os.listdir(</div><div class="gmail_extra">Is there a way to list the expected arguments at that point, without going through help?</div>
<div class="gmail_extra"><br></div><div class="gmail_extra">Thanks again,</div><div class="gmail_extra">MM</div></div>
</blockquote></div><br></div><div class="gmail_extra">A debugger question below:</div><div class="gmail_extra"><br></div><div class="gmail_extra">I am debugging a python script that a recursive function, but it only ever goes as deep as 4 levels.</div>
<div class="gmail_extra">It is recursing over a filesystem with 4 level of directories, at the bottom leaves there are may files.<br></div><div class="gmail_extra"><br></div><div class="gmail_extra">I put a breakpoint in the level where i deal with a file.</div>
<div class="gmail_extra">Every time the debugger breaks, the call stack is identical.</div><div class="gmail_extra"><br></div><div class="gmail_extra">However after the 4th or 5th break, stepping becomes extremely slow, and eventually I get a MemoryError from within:</div>
<div class="gmail_extra"><br></div><div class="gmail_extra"><br></div><div class="gmail_extra"><div class="gmail_extra"> File "C:\Python34\Lib\site-packages\eric5\DebugClients\Python3\DebugClientBase.py", line 1177, in __unhandled_exception</div>
<div class="gmail_extra"> self.mainThread.user_exception(None, (exctype, excval, exctb), True)</div><div class="gmail_extra"> File "C:\Python34\Lib\site-packages\eric5\DebugClients\Python3\DebugBase.py", line 720, in user_exception</div>
<div class="gmail_extra"> argInfo.keywords, argInfo.locals)</div><div class="gmail_extra"> File "C:\Python34\lib\inspect.py", line 1113, in formatargvalues</div><div class="gmail_extra"> specs.append(convert(args[i]))</div>
<div class="gmail_extra"> File "C:\Python34\lib\inspect.py", line 1110, in convert</div><div class="gmail_extra"> return formatarg(name) + formatvalue(locals[name])</div><div class="gmail_extra"> File "C:\Python34\lib\inspect.py", line 1101, in <lambda></div>
<div class="gmail_extra"> formatvalue=lambda value: '=' + repr(value)):</div><div class="gmail_extra"><br></div><div class="gmail_extra"><br></div><div class="gmail_extra"><br></div><div class="gmail_extra"><br>
</div><div class="gmail_extra"><div class="gmail_extra">Original exception was:</div><div class="gmail_extra">Traceback (most recent call last):</div><div class="gmail_extra"> File "C:\Python34\Lib\site-packages\eric5\DebugClients\Python3\DebugClient.py", line 38, in <module></div>
<div class="gmail_extra"> debugClient.main()</div><div class="gmail_extra"> File "C:\Python34\Lib\site-packages\eric5\DebugClients\Python3\DebugClientBase.py", line 2143, in main</div><div class="gmail_extra">
self.__interact()</div><div class="gmail_extra"> File "C:\Python34\Lib\site-packages\eric5\DebugClients\Python3\DebugClientBase.py", line 1047, in __interact</div><div class="gmail_extra"> self.eventLoop()</div>
<div class="gmail_extra"> File "C:\Python34\Lib\site-packages\eric5\DebugClients\Python3\DebugClientBase.py", line 1075, in eventLoop</div><div class="gmail_extra"> self.readReady(self.readstream.fileno())</div>
<div class="gmail_extra"> File "C:\Python34\Lib\site-packages\eric5\DebugClients\Python3\AsyncIO.py", line 65, in readReady</div><div class="gmail_extra"> self.handleLine(s)</div><div class="gmail_extra"> File "C:\Python34\Lib\site-packages\eric5\DebugClients\Python3\DebugClientBase.py", line 529, in handleLine</div>
<div class="gmail_extra"> res = self.mainThread.run(code, self.debugMod.__dict__)</div><div class="gmail_extra"> File "C:\Python34\lib\bdb.py", line 431, in run</div><div class="gmail_extra"> exec(cmd, globals, locals)</div>
<div class="gmail_extra">-------------- MY CODE --------------</div><div class="gmail_extra"><div class="gmail_extra">File "C:\Python34\Lib\site-packages\eric5\DebugClients\Python3\DebugBase.py", line 220, in trace_dispatch</div>
<div class="gmail_extra"> return self.dispatch_exception(frame, arg)</div><div class="gmail_extra"> File "C:\Python34\Lib\site-packages\eric5\DebugClients\Python3\DebugBase.py", line 273, in dispatch_exception</div>
<div class="gmail_extra"> self.user_exception(frame, arg)</div><div class="gmail_extra"> File "C:\Python34\Lib\site-packages\eric5\DebugClients\Python3\DebugBase.py", line 720, in user_exception</div><div class="gmail_extra">
argInfo.keywords, argInfo.locals)</div><div class="gmail_extra"> File "C:\Python34\lib\inspect.py", line 1113, in formatargvalues</div><div class="gmail_extra"> specs.append(convert(args[i]))</div><div class="gmail_extra">
File "C:\Python34\lib\inspect.py", line 1110, in convert</div><div class="gmail_extra"> return formatarg(name) + formatvalue(locals[name])</div><div class="gmail_extra"> File "C:\Python34\lib\inspect.py", line 1101, in <lambda></div>
<div class="gmail_extra"> formatvalue=lambda value: '=' + repr(value)):</div><div class="gmail_extra">MemoryError</div></div></div></div></div>