Code Monkey home page Code Monkey logo

Comments (3)

huguesv avatar huguesv commented on May 18, 2024

Screenshot of frozen VS. [ is not visible, but I typed it before it froze.
editor-hang

It's stuck in parser code. Callstack when I break into debugger:

    Microsoft.Languages.Core.dll!Microsoft.Languages.Core.Tokens.TokenStream<Microsoft.R.Core.Tokens.RToken>.CurrentToken.get() Line 86 C#
>   Microsoft.R.Core.dll!Microsoft.R.Core.AST.Arguments.CommaSeparatedList.Parse(Microsoft.R.Core.Parser.ParseContext context, Microsoft.R.Core.AST.Definitions.IAstNode parent) Line 35    C#
    Microsoft.R.Core.dll!Microsoft.R.Core.AST.Variables.Indexer.Parse(Microsoft.R.Core.Parser.ParseContext context, Microsoft.R.Core.AST.Definitions.IAstNode parent) Line 51   C#
    Microsoft.R.Core.dll!Microsoft.R.Core.AST.Expressions.ExpressionParser.Parse(Microsoft.R.Core.Parser.ParseContext context, Microsoft.R.Core.AST.Definitions.IAstNode parent) Line 129   C#
    Microsoft.R.Core.dll!Microsoft.R.Core.AST.Expressions.Expression.Parse(Microsoft.R.Core.Parser.ParseContext context, Microsoft.R.Core.AST.Definitions.IAstNode parent) Line 45  C#
    Microsoft.R.Core.dll!Microsoft.R.Core.AST.Arguments.ExpressionArgument.Parse(Microsoft.R.Core.Parser.ParseContext context, Microsoft.R.Core.AST.Definitions.IAstNode parent) Line 16    C#
    Microsoft.R.Core.dll!Microsoft.R.Core.AST.Arguments.CommaSeparatedList.Parse(Microsoft.R.Core.Parser.ParseContext context, Microsoft.R.Core.AST.Definitions.IAstNode parent) Line 43    C#
    Microsoft.R.Core.dll!Microsoft.R.Core.AST.Operators.FunctionCall.Parse(Microsoft.R.Core.Parser.ParseContext context, Microsoft.R.Core.AST.Definitions.IAstNode parent) Line 68  C#
    Microsoft.R.Core.dll!Microsoft.R.Core.AST.Expressions.ExpressionParser.Parse(Microsoft.R.Core.Parser.ParseContext context, Microsoft.R.Core.AST.Definitions.IAstNode parent) Line 109   C#
    Microsoft.R.Core.dll!Microsoft.R.Core.AST.Expressions.Expression.Parse(Microsoft.R.Core.Parser.ParseContext context, Microsoft.R.Core.AST.Definitions.IAstNode parent) Line 45  C#
    Microsoft.R.Core.dll!Microsoft.R.Core.AST.Statements.ExpressionStatement.Parse(Microsoft.R.Core.Parser.ParseContext context, Microsoft.R.Core.AST.Definitions.IAstNode parent) Line 32  C#
    Microsoft.R.Core.dll!Microsoft.R.Core.AST.Scopes.Scope.Parse(Microsoft.R.Core.Parser.ParseContext context, Microsoft.R.Core.AST.Definitions.IAstNode parent) Line 101   C#
    Microsoft.R.Core.dll!Microsoft.R.Core.AST.AstRoot.Parse(Microsoft.R.Core.Parser.ParseContext context, Microsoft.R.Core.AST.Definitions.IAstNode parent) Line 81 C#
    Microsoft.R.Core.dll!Microsoft.R.Core.Parser.RParser.Parse(Microsoft.Languages.Core.Text.ITextProvider textProvider, ```

from rtvs.

MikhailArkhipov avatar MikhailArkhipov commented on May 18, 2024

Fixed, test added.

From: Hugues Valois [mailto:[email protected]]
Sent: Thursday, September 3, 2015 3:59 PM
To: Microsoft/RTVS [email protected]
Subject: Re: [RTVS] VS hang while typing code (#6)

Screenshot of frozen VS. [ is not visible, but I typed it before it froze.
[editor-hang]https://na01.safelinks.protection.outlook.com/?url=https%3a%2f%2fcloud.githubusercontent.com%2fassets%2f1696845%2f9672954%2f1d21345a-5254-11e5-9f6c-90149a51f2a1.png&data=01%7c01%7cmikhaila%40microsoft.com%7c9eef165c14fc4df4c1b408d2b4b3482b%7c72f988bf86f141af91ab2d7cd011db47%7c1&sdata=NqVlMAEFTPDEeb5hxplO3uhem7YE2MrsrOHRwoYIOqk%3d

It's stuck in parser code. Callstack when I break into debugger:

Microsoft.Languages.Core.dll!Microsoft.Languages.Core.Tokens.TokenStream<Microsoft.R.Core.Tokens.RToken>.CurrentToken.get() Line 86 C#

Microsoft.R.Core.dll!Microsoft.R.Core.AST.Arguments.CommaSeparatedList.Parse(Microsoft.R.Core.Parser.ParseContext context, Microsoft.R.Core.AST.Definitions.IAstNode parent) Line 35 C#

Microsoft.R.Core.dll!Microsoft.R.Core.AST.Variables.Indexer.Parse(Microsoft.R.Core.Parser.ParseContext context, Microsoft.R.Core.AST.Definitions.IAstNode parent) Line 51   C#

Microsoft.R.Core.dll!Microsoft.R.Core.AST.Expressions.ExpressionParser.Parse(Microsoft.R.Core.Parser.ParseContext context, Microsoft.R.Core.AST.Definitions.IAstNode parent) Line 129   C#

Microsoft.R.Core.dll!Microsoft.R.Core.AST.Expressions.Expression.Parse(Microsoft.R.Core.Parser.ParseContext context, Microsoft.R.Core.AST.Definitions.IAstNode parent) Line 45  C#

Microsoft.R.Core.dll!Microsoft.R.Core.AST.Arguments.ExpressionArgument.Parse(Microsoft.R.Core.Parser.ParseContext context, Microsoft.R.Core.AST.Definitions.IAstNode parent) Line 16    C#

Microsoft.R.Core.dll!Microsoft.R.Core.AST.Arguments.CommaSeparatedList.Parse(Microsoft.R.Core.Parser.ParseContext context, Microsoft.R.Core.AST.Definitions.IAstNode parent) Line 43    C#

Microsoft.R.Core.dll!Microsoft.R.Core.AST.Operators.FunctionCall.Parse(Microsoft.R.Core.Parser.ParseContext context, Microsoft.R.Core.AST.Definitions.IAstNode parent) Line 68  C#

Microsoft.R.Core.dll!Microsoft.R.Core.AST.Expressions.ExpressionParser.Parse(Microsoft.R.Core.Parser.ParseContext context, Microsoft.R.Core.AST.Definitions.IAstNode parent) Line 109   C#

Microsoft.R.Core.dll!Microsoft.R.Core.AST.Expressions.Expression.Parse(Microsoft.R.Core.Parser.ParseContext context, Microsoft.R.Core.AST.Definitions.IAstNode parent) Line 45  C#

Microsoft.R.Core.dll!Microsoft.R.Core.AST.Statements.ExpressionStatement.Parse(Microsoft.R.Core.Parser.ParseContext context, Microsoft.R.Core.AST.Definitions.IAstNode parent) Line 32  C#

Microsoft.R.Core.dll!Microsoft.R.Core.AST.Scopes.Scope.Parse(Microsoft.R.Core.Parser.ParseContext context, Microsoft.R.Core.AST.Definitions.IAstNode parent) Line 101   C#

Microsoft.R.Core.dll!Microsoft.R.Core.AST.AstRoot.Parse(Microsoft.R.Core.Parser.ParseContext context, Microsoft.R.Core.AST.Definitions.IAstNode parent) Line 81 C#

Microsoft.R.Core.dll!Microsoft.R.Core.Parser.RParser.Parse(Microsoft.Languages.Core.Text.ITextProvider textProvider, ```


Reply to this email directly or view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3a%2f%2fgithub.com%2fMicrosoft%2fRTVS%2fissues%2f6%23issuecomment-137595922&data=01%7c01%7cmikhaila%40microsoft.com%7c9eef165c14fc4df4c1b408d2b4b3482b%7c72f988bf86f141af91ab2d7cd011db47%7c1&sdata=pUY18DwhJgUuuPKHekFXOOjeuFVUDV2kolOhA6XqvJw%3d.

from rtvs.

huguesv avatar huguesv commented on May 18, 2024

Verified. Thanks!

from rtvs.

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.