debugger in eclipse

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • tusiatusia
    New Member
    • Aug 2006
    • 2

    #1

    debugger in eclipse

    Hi,
    I have the project, which is composed of many parts written in different languages. One part is written in Python. I would like to debug this part in eclipse, but i don't know how can i do it. I know that i can write:
    import pywin.debugger
    pywin.debugger. brk()
    and when i run my application, it stops on the place where i put the pywin.debugger. brk() expression, but i get the ActivePython window:(
    Is there any possibility to catch it in Eclipse window??

    Please help me,
    tusia:)
  • jumpingrabbit
    New Member
    • Aug 2006
    • 3

    #2
    I assume you do have Python plugin for Eclipse? It's called Pydev. You should be able to run Python debugger in Eclipse. Just make sure you have the latest Eclipse to support it. I have some problem with Python file format. Other than that, it's pretty good.

    Comment

    • tusiatusia
      New Member
      • Aug 2006
      • 2

      #3
      Hi,
      There is Python debugger in Eclipse. But i think that there is no such possibility to put the breakpoint in Eclipse, run the application from the command line and get break at the breakpoint. In Eclipse i have to choose main module to run debugger, but there is such problem that python part of my application doesn't have main module; main module is written in different language:)

      Comment

      • bartonc
        Recognized Expert Expert
        • Sep 2006
        • 6478

        #4
        Originally posted by tusiatusia
        Hi,
        There is Python debugger in Eclipse. But i think that there is no such possibility to put the breakpoint in Eclipse, run the application from the command line and get break at the breakpoint. In Eclipse i have to choose main module to run debugger, but there is such problem that python part of my application doesn't have main module; main module is written in different language:)
        The trick is to put
        Code:
        if __name__ == "__main__":
            # set up enough to get the module running here
            # so that you can debug it AS IF it were the main module.

        Comment

        Working...