debugging - No command history recall in PyDev debug console -


i'm having problems getting project stop @ breakpoint in console supports command recall (via arrow) , command editing. i'm new eclipse , pydev. config advise appreciated!!

it's simple python project runs locally. when hit breakpoint, console comes not support command recall (via arrow) or command editing. when hit arrow, cursor marches line line upwards. when arrow line containing previous command , hit editing key, e.g, del, cursor jumps bottom of window (and not bring rest of command it). console not display python command prompt '>>>'

pydev debugger: starting (pid: 29008) mainindex        ## type 251 n                ## type 1 

when load same project , run interactive pydev console, python prompt , desired command recall , editing, when execute module (e.g, hit breakpoint), runfile(...) command not return control. have enabled option 'connect console debug session' in preferences/pydev/interactive console.

pydev interactive console >>> import sys; import os; os.chdir("/home/bobhy/dropbox/mooc/hra/emailmatch"); print('{} {}, cwd={}'.format((sys.executable or sys.platform), sys.version, os.getcwd())) /usr/bin/python3 3.3.2+ (default, feb 28 2014, 00:52:16)  [gcc 4.8.1], cwd=/home/bobhy/dropbox/mooc/hra/emailmatch pydev console: using default backend (ipython not available). >>> print ("{}...".format(n)) traceback (most recent call last): file "/usr/lib/python3.3/code.py", line 90, in runcode   exec(code, self.locals) file "<console>", line 1, in <module> nameerror: name 'n' not defined >>> runfile('fuzzymatch.py') 0...                     ## wishing prompt here, runfile doesn't return control 

annnd finally, if run project , let hit breakpoint, in first scenario, right click on project scope in debug window, , select pydev/debug console context menu, apparently 3rd flavor of console:

pydev debug console [1] >>> import sys; import os; os.chdir("${container_loc}"); print('{} {}, cwd={}'.format((sys.executable or sys.platform), sys.version, os.getcwd())) [current context]: file "/home/bobhy/dropbox/mooc/hra/emailmatch/fuzzymatch.py", line 53, in main traceback (most recent call last):   file "/home/bobhy/devtools/eclipse-kepler-sr2-linux-x86_64/plugins/org.python.pydev_3.4.1.201403181715/pysrc/pydevd_console.py", line 138, in runcode exec(code, self.frame.f_globals, self.frame.f_locals)   file "/home/bobhy/devtools/eclipse-kepler-sr2-linux-x86_64/plugins/org.python.pydev_3.4.1.201403181715/pysrc/pydevd_exec2.py", line 3, in exec exec(exp, global_vars, local_vars)   file "<console>", line 1, in <module> filenotfounderror :  [errno 2] no such file or directory: '${container_loc}' >>> = 'abc'              ## variable show in variables window 

but 1 keeps hiding behind debug console , can't use it.

using python 3.3, pydev 3.4.1, eclipse-kepler service release 2, linux mint petra 16


Comments

Popular posts from this blog

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -

google shop client API returns 400 bad request error while adding an item -