Giter Club home page Giter Club logo

Comments (5)

yyoncho avatar yyoncho commented on June 9, 2024

Can you confirm that you are getting the same with M-x lsp-start-plain?

cc @Alexander-Miller

from dap-mode.

FredrikMeyer avatar FredrikMeyer commented on June 9, 2024

@yyoncho Thanks for quick answer.

Turns out I did not. I'm not so familiar yet with the debugger, but it looks like it worked.

I had to manually eval
(require 'dap-python)
(setq dap-python-debugger 'debugpy)

But after that it seemed to work with default settings.

The way I updated packages was list-packages -> update all. Maybe I should try deleting the elpa directory and try again?

from dap-mode.

yyoncho avatar yyoncho commented on June 9, 2024

The way I updated packages was list-packages -> update all. Maybe I should try deleting the elpa directory and try again?

Update all is usually not the best way to update because it may cause issues. The best way to upgrade is to delete the packages to update, restart emacs, and install them in clean session.

from dap-mode.

FredrikMeyer avatar FredrikMeyer commented on June 9, 2024

@yyoncho Thank you, deleting the elpa folder and installing everything again seemed to work. (aside: is there no better way to update packages?)

Now I just need to learn the interface :)

from dap-mode.

yyoncho avatar yyoncho commented on June 9, 2024

is there no better way to update packages?

I think that package-utils-upgrade-all-and-recompile from package-utils package but I am not 100% sure. It was a method from path package. The issue here is that when you upgrade in the current session then you end up with packages being compiled with the packages that are already loaded. E g. if you have 2 packages to upgrade A and B and A depends on B you may end up with A being compiled against old B because old B is already loaded. FWIW spacemacs default upgrade package functionality is doing exactly that: It deletes the packages to upgrade, restarts emacs and install them in clean session.

from dap-mode.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.