I have a problem with the debugger: newly created variables do not show up in the "Variables" view!. How can I fix this??.
I'm using Python 2.4, Pydev 1.2.3, Eclipse 3.2 and Ubuntu Linux.
I checked in the 'Error Log' view, and I get error messages as this one:
Unexpected treadRun payload -1210719860 108
I looked at Pydev source a bit and it seems that in the file org.python.pydev.debug.model.AbstractDebugTarget.java there is a regexp which matches positive payloads, but not negative ones. This is the line:
static Pattern threadRunPattern = Pattern.compile("(\\d+)\\t(\\w*)");
I replaced the regexp with (-?\\d+)\\t(\\w*), so that it'd mach negative numbers too, and now the Pydev debugger is showing newly created variables again :DD.
I have a patch just in case someone (or fabio) wants it.
Thanks for the solution!
I've just fixed it in the cvs (and it'll be available in the next release... hopefully before the end of the day).
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.