Giter VIP home page Giter VIP logo

Comments (7)

RobertvanderHulst avatar RobertvanderHulst commented on August 22, 2024

Basile,
You can enable (file) logging by going to (or adding) the registry key
HKEY_CURRENT_USER\Software\XSharpBV\XSharp
and then add a (DWORD) value Log2File with the value 1

You will find the log files in your temp folder, under the XSharp.Intellisense subfolder.

from xsharppublic.

baramuse avatar baramuse commented on August 22, 2024

I've enabled the logs.
Got big quite quickly, when the crash occurs I have about 15k times the same line :

2024-01-19 13:05:08.646 +01:00 [INF] 0009 XModel.File -->> SetTypes() C:\xxx\Calcul Dispo.prg
2024-01-19 13:05:08.646 +01:00 [INF] 0009 XModel.File <<-- SetTypes() C:\xxx\Calcul Dispo.prg (Types: 2, Entities: 75)

from xsharppublic.

baramuse avatar baramuse commented on August 22, 2024

Last crash, still same "little" project this time the log file went to 300Mb and last line are still about the same file :

2024-01-24 13:00:05.179 +01:00 [INF] 0036 XDatabase :Read File info for file C:\xxxx\Calcul Dispo.prg
2024-01-24 13:00:05.179 +01:00 [INF] 0036 XModel.SourceWalker -->> Parse() C:\xxx\Calcul Dispo.prg locals False )
2024-01-24 13:00:05.179 +01:00 [INF] 0036 XModel.SourceWalker -->> Lex() C:\xxx\Calcul Dispo.prg (8785)

from xsharppublic.

RobertvanderHulst avatar RobertvanderHulst commented on August 22, 2024

These lines make sense, each time you type something in the editor, the source is parsed and the result is stored in the intellisense database.

from xsharppublic.

baramuse avatar baramuse commented on August 22, 2024

But 300Mb (while all the other logs are about 2-8mb, and for a bigger project) and I haven't even typed 3 characters and hit the overflow ("A new guard page....")

from xsharppublic.

RobertvanderHulst avatar RobertvanderHulst commented on August 22, 2024

Basile,
Maybe there is something wrong, but to confirm that I need to have the source of the project and the assemblies that it references.

from xsharppublic.

baramuse avatar baramuse commented on August 22, 2024

I could but it feels more like it's platform related as my colleague do not have that issue with those sources...
I can provide you with an access again or enable more debugging ?
It really only happens on that project, and it's a very small one compared to our main application.

from xsharppublic.

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.