pydev debugger not working but can run code fine











up vote
0
down vote

favorite












I am using Liclipse which is basically pydev with eclipse. The python file runs fine but when I try to use the pydev debugger on the same file the debugger fails to launch and I couldn't find anything about this error. Is it a bug in pydev? It even says "During handling of the above exception, another exception occurred"



I am using python 3.7.1



warning: Debugger speedups using cython not found. Run '"C:Usersq4116AppDataLocalProgramsPythonPython37-32python.exe" "C:Program FilesBrainwyLiClipse 5.1.0pluginsorg.python.pydev.core_7.0.0.201811071259pysrcsetup_cython.py" build_ext --inplace' to build.
pydev debugger: starting (pid: 20104)
Traceback (most recent call last):
File "_pydevd_bundlepydevd_cython_win32_37_32.pyx", line 134, in _pydevd_bundle.pydevd_cython_win32_37_32.set_additional_thread_info
AttributeError: '_MainThread' object has no attribute 'additional_info'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "C:Program FilesBrainwyLiClipse 5.1.0pluginsorg.python.pydev.core_7.0.0.201811071259pysrcpydevd.py", line 1951, in <module>
main()
File "C:Program FilesBrainwyLiClipse 5.1.0pluginsorg.python.pydev.core_7.0.0.201811071259pysrcpydevd.py", line 1945, in main
globals = debugger.run(setup['file'], None, None, is_module)
File "C:Program FilesBrainwyLiClipse 5.1.0pluginsorg.python.pydev.core_7.0.0.201811071259pysrcpydevd.py", line 1295, in run
self.notify_thread_created(thread_id, t)
File "C:Program FilesBrainwyLiClipse 5.1.0pluginsorg.python.pydev.core_7.0.0.201811071259pysrcpydevd.py", line 662, in notify_thread_created
additional_info = set_additional_thread_info(thread)
File "_pydevd_bundlepydevd_cython_win32_37_32.pyx", line 138, in _pydevd_bundle.pydevd_cython_win32_37_32.set_additional_thread_info
File "_pydevd_bundlepydevd_cython_win32_37_32.pyx", line 147, in _pydevd_bundle.pydevd_cython_win32_37_32.set_additional_thread_info
File "_pydevd_bundlepydevd_cython_win32_37_32.pyx", line 95, in _pydevd_bundle.pydevd_cython_win32_37_32.PyDBAdditionalThreadInfo.__init__
AttributeError: '_pydevd_bundle.pydevd_cython_win32_37_32.PyDBAdditionalThreadInfo' object has no attribute 'pydev_state'









share|improve this question




























    up vote
    0
    down vote

    favorite












    I am using Liclipse which is basically pydev with eclipse. The python file runs fine but when I try to use the pydev debugger on the same file the debugger fails to launch and I couldn't find anything about this error. Is it a bug in pydev? It even says "During handling of the above exception, another exception occurred"



    I am using python 3.7.1



    warning: Debugger speedups using cython not found. Run '"C:Usersq4116AppDataLocalProgramsPythonPython37-32python.exe" "C:Program FilesBrainwyLiClipse 5.1.0pluginsorg.python.pydev.core_7.0.0.201811071259pysrcsetup_cython.py" build_ext --inplace' to build.
    pydev debugger: starting (pid: 20104)
    Traceback (most recent call last):
    File "_pydevd_bundlepydevd_cython_win32_37_32.pyx", line 134, in _pydevd_bundle.pydevd_cython_win32_37_32.set_additional_thread_info
    AttributeError: '_MainThread' object has no attribute 'additional_info'

    During handling of the above exception, another exception occurred:

    Traceback (most recent call last):
    File "C:Program FilesBrainwyLiClipse 5.1.0pluginsorg.python.pydev.core_7.0.0.201811071259pysrcpydevd.py", line 1951, in <module>
    main()
    File "C:Program FilesBrainwyLiClipse 5.1.0pluginsorg.python.pydev.core_7.0.0.201811071259pysrcpydevd.py", line 1945, in main
    globals = debugger.run(setup['file'], None, None, is_module)
    File "C:Program FilesBrainwyLiClipse 5.1.0pluginsorg.python.pydev.core_7.0.0.201811071259pysrcpydevd.py", line 1295, in run
    self.notify_thread_created(thread_id, t)
    File "C:Program FilesBrainwyLiClipse 5.1.0pluginsorg.python.pydev.core_7.0.0.201811071259pysrcpydevd.py", line 662, in notify_thread_created
    additional_info = set_additional_thread_info(thread)
    File "_pydevd_bundlepydevd_cython_win32_37_32.pyx", line 138, in _pydevd_bundle.pydevd_cython_win32_37_32.set_additional_thread_info
    File "_pydevd_bundlepydevd_cython_win32_37_32.pyx", line 147, in _pydevd_bundle.pydevd_cython_win32_37_32.set_additional_thread_info
    File "_pydevd_bundlepydevd_cython_win32_37_32.pyx", line 95, in _pydevd_bundle.pydevd_cython_win32_37_32.PyDBAdditionalThreadInfo.__init__
    AttributeError: '_pydevd_bundle.pydevd_cython_win32_37_32.PyDBAdditionalThreadInfo' object has no attribute 'pydev_state'









    share|improve this question


























      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      I am using Liclipse which is basically pydev with eclipse. The python file runs fine but when I try to use the pydev debugger on the same file the debugger fails to launch and I couldn't find anything about this error. Is it a bug in pydev? It even says "During handling of the above exception, another exception occurred"



      I am using python 3.7.1



      warning: Debugger speedups using cython not found. Run '"C:Usersq4116AppDataLocalProgramsPythonPython37-32python.exe" "C:Program FilesBrainwyLiClipse 5.1.0pluginsorg.python.pydev.core_7.0.0.201811071259pysrcsetup_cython.py" build_ext --inplace' to build.
      pydev debugger: starting (pid: 20104)
      Traceback (most recent call last):
      File "_pydevd_bundlepydevd_cython_win32_37_32.pyx", line 134, in _pydevd_bundle.pydevd_cython_win32_37_32.set_additional_thread_info
      AttributeError: '_MainThread' object has no attribute 'additional_info'

      During handling of the above exception, another exception occurred:

      Traceback (most recent call last):
      File "C:Program FilesBrainwyLiClipse 5.1.0pluginsorg.python.pydev.core_7.0.0.201811071259pysrcpydevd.py", line 1951, in <module>
      main()
      File "C:Program FilesBrainwyLiClipse 5.1.0pluginsorg.python.pydev.core_7.0.0.201811071259pysrcpydevd.py", line 1945, in main
      globals = debugger.run(setup['file'], None, None, is_module)
      File "C:Program FilesBrainwyLiClipse 5.1.0pluginsorg.python.pydev.core_7.0.0.201811071259pysrcpydevd.py", line 1295, in run
      self.notify_thread_created(thread_id, t)
      File "C:Program FilesBrainwyLiClipse 5.1.0pluginsorg.python.pydev.core_7.0.0.201811071259pysrcpydevd.py", line 662, in notify_thread_created
      additional_info = set_additional_thread_info(thread)
      File "_pydevd_bundlepydevd_cython_win32_37_32.pyx", line 138, in _pydevd_bundle.pydevd_cython_win32_37_32.set_additional_thread_info
      File "_pydevd_bundlepydevd_cython_win32_37_32.pyx", line 147, in _pydevd_bundle.pydevd_cython_win32_37_32.set_additional_thread_info
      File "_pydevd_bundlepydevd_cython_win32_37_32.pyx", line 95, in _pydevd_bundle.pydevd_cython_win32_37_32.PyDBAdditionalThreadInfo.__init__
      AttributeError: '_pydevd_bundle.pydevd_cython_win32_37_32.PyDBAdditionalThreadInfo' object has no attribute 'pydev_state'









      share|improve this question















      I am using Liclipse which is basically pydev with eclipse. The python file runs fine but when I try to use the pydev debugger on the same file the debugger fails to launch and I couldn't find anything about this error. Is it a bug in pydev? It even says "During handling of the above exception, another exception occurred"



      I am using python 3.7.1



      warning: Debugger speedups using cython not found. Run '"C:Usersq4116AppDataLocalProgramsPythonPython37-32python.exe" "C:Program FilesBrainwyLiClipse 5.1.0pluginsorg.python.pydev.core_7.0.0.201811071259pysrcsetup_cython.py" build_ext --inplace' to build.
      pydev debugger: starting (pid: 20104)
      Traceback (most recent call last):
      File "_pydevd_bundlepydevd_cython_win32_37_32.pyx", line 134, in _pydevd_bundle.pydevd_cython_win32_37_32.set_additional_thread_info
      AttributeError: '_MainThread' object has no attribute 'additional_info'

      During handling of the above exception, another exception occurred:

      Traceback (most recent call last):
      File "C:Program FilesBrainwyLiClipse 5.1.0pluginsorg.python.pydev.core_7.0.0.201811071259pysrcpydevd.py", line 1951, in <module>
      main()
      File "C:Program FilesBrainwyLiClipse 5.1.0pluginsorg.python.pydev.core_7.0.0.201811071259pysrcpydevd.py", line 1945, in main
      globals = debugger.run(setup['file'], None, None, is_module)
      File "C:Program FilesBrainwyLiClipse 5.1.0pluginsorg.python.pydev.core_7.0.0.201811071259pysrcpydevd.py", line 1295, in run
      self.notify_thread_created(thread_id, t)
      File "C:Program FilesBrainwyLiClipse 5.1.0pluginsorg.python.pydev.core_7.0.0.201811071259pysrcpydevd.py", line 662, in notify_thread_created
      additional_info = set_additional_thread_info(thread)
      File "_pydevd_bundlepydevd_cython_win32_37_32.pyx", line 138, in _pydevd_bundle.pydevd_cython_win32_37_32.set_additional_thread_info
      File "_pydevd_bundlepydevd_cython_win32_37_32.pyx", line 147, in _pydevd_bundle.pydevd_cython_win32_37_32.set_additional_thread_info
      File "_pydevd_bundlepydevd_cython_win32_37_32.pyx", line 95, in _pydevd_bundle.pydevd_cython_win32_37_32.PyDBAdditionalThreadInfo.__init__
      AttributeError: '_pydevd_bundle.pydevd_cython_win32_37_32.PyDBAdditionalThreadInfo' object has no attribute 'pydev_state'






      python eclipse debugging pydev






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Nov 7 at 22:56

























      asked Nov 7 at 22:32









      echo

      9111




      9111
























          2 Answers
          2






          active

          oldest

          votes

















          up vote
          4
          down vote



          accepted










          Sorry about that. This is a bug in PyDev 7.0.0. I just finished uploading a new version for PyDev and LiClipse is almost there too (limiting factor is my internet connection speed, so, should be available in a few hours).



          Meanwhile, removing the accelerators (and recreating if you want locally) should make it work again. i.e.: Remove _pydevd_bundle*.pyd and _pydevd_bundlepydevd_frame_eval*.pyd and execute setup_cython.py locally (or don't if you're ok on going without the accelerator modules).






          share|improve this answer

















          • 2




            Note: LiClipse 5.1.2 is now available with the fix.
            – Fabio Zadrozny
            Nov 8 at 16:25






          • 1




            Actually, I found another critical in 5.1.2 (related to hyperlinking tracebacks) and just released PyDev 7.0.3/LiClipse 5.1.3... sorry -- please upgrade again ;)
            – Fabio Zadrozny
            Nov 9 at 11:39


















          up vote
          2
          down vote













          I had the same issue after an update of these packages :




          • Oomph Setup 1.11.0.v20181107-0652 org.eclipse.oomph.setup.feature.group Eclipse Oomph Project

          • PyDev for Eclipse 7.0.0.201811071319 org.python.pydev.feature.feature.group Fabio Zadrozny

          • PyDev for Eclipse Developer Resources 7.0.0.201811071319 org.python.pydev.feature.source.feature.group Fabio Zadrozny


          Not running LiClipse but just Eclipse + pydev.



          I solved it for now by reverting the update. Click Help > About Eclipse IDE > Installation Details > Installation History > Click on the last working version > Revert



          I should have kept the error information though so that I could file a proper bug report ...






          share|improve this answer























            Your Answer






            StackExchange.ifUsing("editor", function () {
            StackExchange.using("externalEditor", function () {
            StackExchange.using("snippets", function () {
            StackExchange.snippets.init();
            });
            });
            }, "code-snippets");

            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "1"
            };
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function() {
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled) {
            StackExchange.using("snippets", function() {
            createEditor();
            });
            }
            else {
            createEditor();
            }
            });

            function createEditor() {
            StackExchange.prepareEditor({
            heartbeatType: 'answer',
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53198901%2fpydev-debugger-not-working-but-can-run-code-fine%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            2 Answers
            2






            active

            oldest

            votes








            2 Answers
            2






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes








            up vote
            4
            down vote



            accepted










            Sorry about that. This is a bug in PyDev 7.0.0. I just finished uploading a new version for PyDev and LiClipse is almost there too (limiting factor is my internet connection speed, so, should be available in a few hours).



            Meanwhile, removing the accelerators (and recreating if you want locally) should make it work again. i.e.: Remove _pydevd_bundle*.pyd and _pydevd_bundlepydevd_frame_eval*.pyd and execute setup_cython.py locally (or don't if you're ok on going without the accelerator modules).






            share|improve this answer

















            • 2




              Note: LiClipse 5.1.2 is now available with the fix.
              – Fabio Zadrozny
              Nov 8 at 16:25






            • 1




              Actually, I found another critical in 5.1.2 (related to hyperlinking tracebacks) and just released PyDev 7.0.3/LiClipse 5.1.3... sorry -- please upgrade again ;)
              – Fabio Zadrozny
              Nov 9 at 11:39















            up vote
            4
            down vote



            accepted










            Sorry about that. This is a bug in PyDev 7.0.0. I just finished uploading a new version for PyDev and LiClipse is almost there too (limiting factor is my internet connection speed, so, should be available in a few hours).



            Meanwhile, removing the accelerators (and recreating if you want locally) should make it work again. i.e.: Remove _pydevd_bundle*.pyd and _pydevd_bundlepydevd_frame_eval*.pyd and execute setup_cython.py locally (or don't if you're ok on going without the accelerator modules).






            share|improve this answer

















            • 2




              Note: LiClipse 5.1.2 is now available with the fix.
              – Fabio Zadrozny
              Nov 8 at 16:25






            • 1




              Actually, I found another critical in 5.1.2 (related to hyperlinking tracebacks) and just released PyDev 7.0.3/LiClipse 5.1.3... sorry -- please upgrade again ;)
              – Fabio Zadrozny
              Nov 9 at 11:39













            up vote
            4
            down vote



            accepted







            up vote
            4
            down vote



            accepted






            Sorry about that. This is a bug in PyDev 7.0.0. I just finished uploading a new version for PyDev and LiClipse is almost there too (limiting factor is my internet connection speed, so, should be available in a few hours).



            Meanwhile, removing the accelerators (and recreating if you want locally) should make it work again. i.e.: Remove _pydevd_bundle*.pyd and _pydevd_bundlepydevd_frame_eval*.pyd and execute setup_cython.py locally (or don't if you're ok on going without the accelerator modules).






            share|improve this answer












            Sorry about that. This is a bug in PyDev 7.0.0. I just finished uploading a new version for PyDev and LiClipse is almost there too (limiting factor is my internet connection speed, so, should be available in a few hours).



            Meanwhile, removing the accelerators (and recreating if you want locally) should make it work again. i.e.: Remove _pydevd_bundle*.pyd and _pydevd_bundlepydevd_frame_eval*.pyd and execute setup_cython.py locally (or don't if you're ok on going without the accelerator modules).







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Nov 8 at 15:27









            Fabio Zadrozny

            21.1k35566




            21.1k35566








            • 2




              Note: LiClipse 5.1.2 is now available with the fix.
              – Fabio Zadrozny
              Nov 8 at 16:25






            • 1




              Actually, I found another critical in 5.1.2 (related to hyperlinking tracebacks) and just released PyDev 7.0.3/LiClipse 5.1.3... sorry -- please upgrade again ;)
              – Fabio Zadrozny
              Nov 9 at 11:39














            • 2




              Note: LiClipse 5.1.2 is now available with the fix.
              – Fabio Zadrozny
              Nov 8 at 16:25






            • 1




              Actually, I found another critical in 5.1.2 (related to hyperlinking tracebacks) and just released PyDev 7.0.3/LiClipse 5.1.3... sorry -- please upgrade again ;)
              – Fabio Zadrozny
              Nov 9 at 11:39








            2




            2




            Note: LiClipse 5.1.2 is now available with the fix.
            – Fabio Zadrozny
            Nov 8 at 16:25




            Note: LiClipse 5.1.2 is now available with the fix.
            – Fabio Zadrozny
            Nov 8 at 16:25




            1




            1




            Actually, I found another critical in 5.1.2 (related to hyperlinking tracebacks) and just released PyDev 7.0.3/LiClipse 5.1.3... sorry -- please upgrade again ;)
            – Fabio Zadrozny
            Nov 9 at 11:39




            Actually, I found another critical in 5.1.2 (related to hyperlinking tracebacks) and just released PyDev 7.0.3/LiClipse 5.1.3... sorry -- please upgrade again ;)
            – Fabio Zadrozny
            Nov 9 at 11:39












            up vote
            2
            down vote













            I had the same issue after an update of these packages :




            • Oomph Setup 1.11.0.v20181107-0652 org.eclipse.oomph.setup.feature.group Eclipse Oomph Project

            • PyDev for Eclipse 7.0.0.201811071319 org.python.pydev.feature.feature.group Fabio Zadrozny

            • PyDev for Eclipse Developer Resources 7.0.0.201811071319 org.python.pydev.feature.source.feature.group Fabio Zadrozny


            Not running LiClipse but just Eclipse + pydev.



            I solved it for now by reverting the update. Click Help > About Eclipse IDE > Installation Details > Installation History > Click on the last working version > Revert



            I should have kept the error information though so that I could file a proper bug report ...






            share|improve this answer



























              up vote
              2
              down vote













              I had the same issue after an update of these packages :




              • Oomph Setup 1.11.0.v20181107-0652 org.eclipse.oomph.setup.feature.group Eclipse Oomph Project

              • PyDev for Eclipse 7.0.0.201811071319 org.python.pydev.feature.feature.group Fabio Zadrozny

              • PyDev for Eclipse Developer Resources 7.0.0.201811071319 org.python.pydev.feature.source.feature.group Fabio Zadrozny


              Not running LiClipse but just Eclipse + pydev.



              I solved it for now by reverting the update. Click Help > About Eclipse IDE > Installation Details > Installation History > Click on the last working version > Revert



              I should have kept the error information though so that I could file a proper bug report ...






              share|improve this answer

























                up vote
                2
                down vote










                up vote
                2
                down vote









                I had the same issue after an update of these packages :




                • Oomph Setup 1.11.0.v20181107-0652 org.eclipse.oomph.setup.feature.group Eclipse Oomph Project

                • PyDev for Eclipse 7.0.0.201811071319 org.python.pydev.feature.feature.group Fabio Zadrozny

                • PyDev for Eclipse Developer Resources 7.0.0.201811071319 org.python.pydev.feature.source.feature.group Fabio Zadrozny


                Not running LiClipse but just Eclipse + pydev.



                I solved it for now by reverting the update. Click Help > About Eclipse IDE > Installation Details > Installation History > Click on the last working version > Revert



                I should have kept the error information though so that I could file a proper bug report ...






                share|improve this answer














                I had the same issue after an update of these packages :




                • Oomph Setup 1.11.0.v20181107-0652 org.eclipse.oomph.setup.feature.group Eclipse Oomph Project

                • PyDev for Eclipse 7.0.0.201811071319 org.python.pydev.feature.feature.group Fabio Zadrozny

                • PyDev for Eclipse Developer Resources 7.0.0.201811071319 org.python.pydev.feature.source.feature.group Fabio Zadrozny


                Not running LiClipse but just Eclipse + pydev.



                I solved it for now by reverting the update. Click Help > About Eclipse IDE > Installation Details > Installation History > Click on the last working version > Revert



                I should have kept the error information though so that I could file a proper bug report ...







                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited Nov 8 at 9:44

























                answered Nov 8 at 9:35









                Q-life

                666




                666






























                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Stack Overflow!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.





                    Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


                    Please pay close attention to the following guidance:


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53198901%2fpydev-debugger-not-working-but-can-run-code-fine%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    這個網誌中的熱門文章

                    Xamarin.form Move up view when keyboard appear

                    Post-Redirect-Get with Spring WebFlux and Thymeleaf

                    Anylogic : not able to use stopDelay()