Giter Site home page Giter Site logo

Comments (5)

plnelson avatar plnelson commented on May 17, 2024

Hello Vladimir,
There is a way you can control the tree expansion in your expression evaluator. We haven't documented it yet because the API is incomplete and at this time doesn't play well with the C# implementation if you want to have it take over expansion of children. We have plans for fixing this in a future version of Visual Studio and will update the sample and documentation when it's available.

In the meantime, if you want to experiment with the existing API, take a look at IDkmClrResultProvider. If you implement this interface - and configure Concord to use it via your vsdconfig file, you can take over creation of DkmSuccessEvaluationResults and DkmFailureEvaluationResults. These are the underlying data structures Concord uses for nodes in the evaluation windows. You can see the Roslyn implementation of this interface here. Good luck!
-Patrick

from concordextensibilitysamples.

onor13 avatar onor13 commented on May 17, 2024

Hello, I tried to add the support for IDkmClrResultProvider, but I am having trouble with the registration of this component. Actually, lately I am having trouble with the registration of others components too. For example I moved my implementation of IDkmClrFormatter to another folder (and updating .vsdconfig) and IDkmClrFormatter is not recognized correctly anymore. I tried to move it back, still doesn't work.
The error isn't very clrear, it just says: "Internal error retrieving local value." for each local variable.
And yes, I checked the Path in the Class Name like 10 times to be sure, it's not it.
Maybe Visual Studio keeps some old info in the cache somewhere? Is there a way to reset it?
I am testing with Visual Studio 14 Experimental instance, I did reset the configuration with CreateExpInstance.exe /Reset /VSInstance=14.0 /RootSuffix=Exp but it did not help.
Vladimir.

from concordextensibilitysamples.

gregg-miskelly avatar gregg-miskelly commented on May 17, 2024

Are you seeing your dll get loaded at all? (you can check the modules/output window)
If you turn off Just My Code, do you see any exceptions in your scenario?

from concordextensibilitysamples.

onor13 avatar onor13 commented on May 17, 2024

The dll is loaded, and the IDkmClrExpressionCompiler is triggered and executed correctly. The Just My Code is already turned off. The only message I am seeing is

"Internal error retrieving local value."
for the variable I am trying to get the value. If I disable the IDkmClrFormatter, everything works fine.
There is one (maybe) relevant message is the Debug window log:
Exception thrown: 'System.ArgumentException' in vsdebugeng.manimpl.dll
But the same exception is shown even when IDkmClrFormatter is disabled.

from concordextensibilitysamples.

plnelson avatar plnelson commented on May 17, 2024

?? Looks like there are now 3 different problems you are running into that we are tracking with the same GitHub issue. Perhaps IM/email is a better forum than GitHub issues related to the sample?

from concordextensibilitysamples.

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.