Debugger not showing newly created variables.

  • Javier

    Javier - 2006-09-26

    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.

    • Javier

      Javier - 2006-09-26

      I checked in the 'Error Log' view, and I get error messages as this one:

      Unexpected treadRun payload -1210719860    108

      • Javier

        Javier - 2006-09-26

        I looked at Pydev source a bit and it seems that in the file 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.

        • Fabio Zadrozny

          Fabio Zadrozny - 2006-09-26

          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).




Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks