#422 Could not resolve variable in debuuger

1.2.6
closed
debugger (210)
5
2007-02-25
2007-02-01
Jie Yang
No

When I debug a big project using PyDev and stop at any break point, no variables can be displayed. It shows:

-Globals Global variables
.Error Could not resolve variable
.Error Could not resolve variable

However, when I debug a simple project (a script with few lines), it works fine.

More info:

- System: windows XP SP2
- Eclipse version: 3.2.1
- PyDev version: 1.2.6
- PyDev error log:

org.eclipse.core.runtime.CoreException: pydevd error:Error resolving variables Traceback (most recent call last):
File "E:\soft\eclipse\eclipse-SDK-3.2.1-win32\plugins\org.python.pydev.debug_1.2.6\pysrc\pydevd_comm.py", line 471, in doIt
valDict = pydevd_vars.resolveCompoundVariable(self.thread_id, self.frame_id, self.scope, self.attributes)
File "E:\soft\eclipse\eclipse-SDK-3.2.1-win32\plugins\org.python.pydev.debug_1.2.6\pysrc\pydevd_vars.py", line 213, in resolveCompoundVariable
frame = findFrame(thread_id, frame_id)
File "E:\soft\eclipse\eclipse-SDK-3.2.1-win32\plugins\org.python.pydev.debug_1.2.6\pysrc\pydevd_vars.py", line 207, in findFrame
raise FrameNotFoundError(errMsg)
FrameNotFoundError: findFrame: frame not found.
Looking for thread_id:11808016, frame_id:11992528
Current thread_id:11808016, available frames:
46319016 - 46318936 - 46318976 - 46319056 - 46319096
46319136 - 46319176 - 46319216 - 46319256 - 46319296
46319336 - 46319376 - 46319416 - 46319456 -
at org.python.pydev.debug.model.remote.GetVariableCommand.getResponse(GetVariableCommand.java:60)
at org.python.pydev.debug.model.PyVariableCollection.getCommandVariables(PyVariableCollection.java:81)
at org.python.pydev.debug.model.PyVariableCollection.getCommandVariables(PyVariableCollection.java:72)
at org.python.pydev.debug.model.PyVariableCollection.commandComplete(PyVariableCollection.java:63)
at org.python.pydev.debug.model.remote.AbstractDebuggerCommand.processResponse(AbstractDebuggerCommand.java:112)
at org.python.pydev.debug.model.remote.DebuggerReader.processCommand(DebuggerReader.java:101)
at org.python.pydev.debug.model.remote.DebuggerReader.run(DebuggerReader.java:120)
at java.lang.Thread.run(Unknown Source)

- Eclipse install location: E:\soft\eclipse\eclipse-SDK-3.2.1-win32

- Project location where the bug appears: E:\Develop\workspace2\buddycast2

Discussion

  • Jie Yang

    Jie Yang - 2007-02-05

    Logged In: YES
    user_id=1356061
    Originator: YES

    When I use Python2.3 as the interpreter, the debugger works fine.
    However, when I use Python2.4, the problem always happens.
    I also tried Eclipse3.1.1 with PyDev 1.2.6 and Python2.4, but found the same problem.

     
  • Fabio Zadrozny

    Fabio Zadrozny - 2007-02-10
    • status: open --> pending
     
  • Fabio Zadrozny

    Fabio Zadrozny - 2007-02-10

    Logged In: YES
    user_id=617340
    Originator: NO

    Do you have some sample code where this could happen? Which libraries do you use (may be related to somethings specific -- e.g.: if you use psyco you may have this kind of trouble because psyco will replace frames, so, you cannot use a debugger with it).

     
  • SourceForge Robot

    • status: pending --> closed
     
  • SourceForge Robot

    Logged In: YES
    user_id=1312539
    Originator: NO

    This Tracker item was closed automatically by the system. It was
    previously set to a Pending status, and the original submitter
    did not respond within 14 days (the time period specified by
    the administrator of this Tracker).