Giter Club home page Giter Club logo

Comments (16)

SpartanJ avatar SpartanJ commented on May 25, 2024 1

That's probably because it's still scanning all folders while you open new folders. I think i forgot to stop the scanning when changing folders (the scan is really fast in SSDs and never thought about it).

from ecode.

andy0x10 avatar andy0x10 commented on May 25, 2024 1

Thanks I will test and let you know.

from ecode.

andy0x10 avatar andy0x10 commented on May 25, 2024 1

I haven't had the freeze since 0.4.5 so I guess it must be solved 👍

from ecode.

andy0x10 avatar andy0x10 commented on May 25, 2024

Yep, that might be it.

I'm running on a fast NVME SSD though... but still it sounds likely as there are a ton of files in some of these project subfolders.

Thanks,

from ecode.

SpartanJ avatar SpartanJ commented on May 25, 2024

Can you send me your logs? The file tree size and the time it took to analyze it is logged there. It might give me an idea.

from ecode.

andy0x10 avatar andy0x10 commented on May 25, 2024

Sure, where do I find the logs?

from ecode.

SpartanJ avatar SpartanJ commented on May 25, 2024

Linux: uses XDG_CONFIG_HOME, usually translates to ~/.config/ecode/ecode.log
macOS: uses Application Support folder in HOME, usually translates to ~/Library/Application Support/ecode/ecode.log
Windows: uses APPDATA, usually translates to C:\Users\{username}\AppData\Roaming\ecode\ecode.log

from ecode.

andy0x10 avatar andy0x10 commented on May 25, 2024

ecode.log

from ecode.

andy0x10 avatar andy0x10 commented on May 25, 2024

Just happened again while I was typing..

image

Hmmm...

from ecode.

SpartanJ avatar SpartanJ commented on May 25, 2024

I think it's the LSP. LSP is broken in 0.4.4 on Windows, please use this build:
ecode-windows-0.4.4-x86_64.zip. It should fix the issue...

from ecode.

SpartanJ avatar SpartanJ commented on May 25, 2024

Let me know if you get diagnostics and code completion in the new build. Something weird is going on with Omnisharp. Also if you can run ecode with debug log will be really helpful, debug logs are enabled by running ecode.exe -ldebug.

from ecode.

andy0x10 avatar andy0x10 commented on May 25, 2024

ecode.log

Here's a new log...seems to be an exception - not sure if that's the cause of the freezing or something else.

I can remove Omnisharp to see if it still has this issue.. It's easy to reproduce for me with this project.

Thanks,

from ecode.

andy0x10 avatar andy0x10 commented on May 25, 2024

Yes, without Omnisharp the freeze doesn't seem to happen. Aslo I noticed a bunch of zombie Omnisharp.exe processes that must have been related to each time I force closed ecode.

I hope this helps but not sure what you can do to fix it :-)

Let me know if you need any more information.

Cheers,

from ecode.

SpartanJ avatar SpartanJ commented on May 25, 2024

It seems I don't gracefully handle a stuck LSP, my theory is that all the pool threads are being frozen by the LSP. I'll check out how to reproduce it. Your particular case should be easy to fix, the OmniSharp installation is lacking MSBuild that it's required to properly function. You need to install MSBuild.

from ecode.

SpartanJ avatar SpartanJ commented on May 25, 2024

I won't close the issue until I'm 100% sure a freeze can happen. I've been trying to reproduce the bug but I wasn't able, but, I was able to reproduce the zombie processes, and it's fixed for sure. I tested with your same OmniSharp setup (I mean, even without MSBuild installed), and worked fine (of course OmniSharp won't work), OmniSharp with MSBuild installed works nicely as far as I could test, but I'm not a C# user so I'm not sure how good it is.
A new release with a ton of fixes will be released very soon (maybe in a few hours I can build all the platforms).

from ecode.

SpartanJ avatar SpartanJ commented on May 25, 2024

Awesome! Thank you for testing it. I'll close the issue, and if you see something wrong just let me know and I'll re-open it.

from ecode.

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.