#617 Break points not recognized

closed-fixed
debugger (210)
8
2008-03-13
2007-12-11
steve morin
No

When debugging this file certain break points in pydev work like line 303.

Other are completely missed like line 214 and 215.

I really would like to use this for debugging.

Discussion

1 2 > >> (Page 1 of 2)
  • steve morin

    steve morin - 2007-12-11

    file to execute

     
  • Fabio Zadrozny

    Fabio Zadrozny - 2007-12-11
    • status: open --> pending
     
  • steve morin

    steve morin - 2007-12-11

    Logged In: YES
    user_id=89631
    Originator: YES

    Wanted to include more info this is for python2.5 on windows using eclipse 3.3.1.1.

     
  • steve morin

    steve morin - 2007-12-11
    • status: pending --> open
     
  • steve morin

    steve morin - 2007-12-11

    Logged In: YES
    user_id=89631
    Originator: YES

    Please let me know if you would like some more info. I'll update with more info tonight.

     
  • steve morin

    steve morin - 2007-12-12

    Logged In: YES
    user_id=89631
    Originator: YES

    More info
    C:\Documents and Settings\smorin\workspace
    C:\Python25

    pydev extension 1.3.10

    Eclipse
    "C:\Documents and Settings\smorin\Desktop\eclipse\eclipse.exe"

    C:\Python25\python.exe

    PYTHONPATH in pydev
    C:\Python25
    C:\Python25\DLLs
    C:\Python25\lib
    C:\Python25\lib\lib-tk
    C:\Python25\lib\plat-win
    C:\Python25\lib\site-packages

     
  • steve morin

    steve morin - 2007-12-12
    • priority: 5 --> 8
     
  • Fabio Zadrozny

    Fabio Zadrozny - 2007-12-15

    Logged In: YES
    user_id=617340
    Originator: NO

    Strange (it does work for me in python 2.5...)

    Can you change org.python.pydev.debug/pysrc/pydevd_comm.py and change:
    pydevd_trace = 5
    pydevd_trace_breakpoints = 5

    and attach the output to this bug?

     
  • Fabio Zadrozny

    Fabio Zadrozny - 2007-12-15
    • status: open --> pending
     
  • steve morin

    steve morin - 2007-12-15
    • status: pending --> open
     
  • steve morin

    steve morin - 2007-12-15

    Logged In: YES
    user_id=89631
    Originator: YES

    Sure will do that tonight
    Steve

     
  • Fabio Zadrozny

    Fabio Zadrozny - 2007-12-16

    Logged In: YES
    user_id=617340
    Originator: NO

    Leaving on pending state until more info is provided...

     
  • Fabio Zadrozny

    Fabio Zadrozny - 2007-12-16
    • status: open --> pending
     
  • 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).

     
  • SourceForge Robot

    • status: pending --> closed
     
  • steve morin

    steve morin - 2008-02-11
    • status: closed --> open
     
  • steve morin

    steve morin - 2008-02-11

    Logged In: YES
    user_id=89631
    Originator: YES

    Changed logging pydevd_trace variables as requested.

    When running script in debugger pop up opens up.

    Error setting breakpoints

    Reason:
    Error logged from Pydev Debug:
    This should never happen... if it is a file, it always has a dot, so, this should not happen...

    pydev debugger
    Executing file C:\Documents and Settings\smorin\workspace\javaclassfind\bin\jcfind
    arguments:['C:\\Documents and Settings\\smorin\\workspace\\javaclassfind\\bin\\jcfind']
    Connecting to localhost:10321
    Connected.
    received command 501 1 1.0
    sending cmd 501 1 1.0

    sending cmd 103 2 <xml><thread name="pydevd.reader" id="-1"/></xml>

    sending cmd 103 4 <xml><thread name="pydevd.writer" id="-1"/></xml>

    received command 111 3 C:\Documents and Settings\smorin\workspace\javaclassfind\bin\jcfind 220 None
    Added breakpoint:c:\documents and settings\smorin\workspace\javaclassfind\bin\jcfind - line:220 - func_name:
    received command 101 5
    Usage: jcfind [OPTION]... PATTERN[@DIRECTORY]
    Finds files(matching PATTERN) located in jars starting at DIRECTORY(the current directory by default).

    Mandatory arguments to long options are mandatory for short options too.
    -h, --help=command print this help, then exit OR print help on COMMAND
    --v show more output
    --vv show even more output
    --vvv show most output
    --author print the authors of this file, then exit
    --version version of this program, then exit
    -m, --match-only show only jars that contain a match

     
  • Fabio Zadrozny

    Fabio Zadrozny - 2008-02-19

    Logged In: YES
    user_id=617340
    Originator: NO

    Humm, I think the debugger does not work with files without extensions... if you make it a .py file, does it work? (I hadn't noticed that it didn't have a .py)

     
  • Fabio Zadrozny

    Fabio Zadrozny - 2008-02-19
    • status: open --> pending
     
  • 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).

     
  • steve morin

    steve morin - 2008-03-12

    Logged In: YES
    user_id=89631
    Originator: YES

    But this is a command I run from the command line.

    No one wants to type jcfind.py how can I get it to recognize jcfind as a file even though it doesn't have a dot?

     
  • steve morin

    steve morin - 2008-03-12
    • status: closed --> open
     
  • steve morin

    steve morin - 2008-03-12

    Logged In: YES
    user_id=89631
    Originator: YES

    Also is this something in the pydev python code or part of the java code. Because I would like to contribute to write a fix for this. I have started looking in the python code but don't see it there. If you can point me in the right direction I would like to fix this for you.
    Steve

     
1 2 > >> (Page 1 of 2)

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

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks