GithubHelp home page GithubHelp logo

Comments (4)

cplotts avatar cplotts commented on May 22, 2024

@perlun this seems to be an issue in the application that you were Snooping (and not with Snoop itself).

Since Snoop actually injects itself into the Snooped process, exceptions that happen there might seem to come from Snoop ... when they do not.

Unless you can provide some sample code that illustrates otherwise ... I am going to close this issue.

from snoopwpf.

perlun avatar perlun commented on May 22, 2024

@cplotts Thanks. No longer working actively on that project, so we can safely close this for now unless we find a way to reproduce it.

Can application-generated exceptions be re-thrown from the Snoop.Shell.VisualTreeProvider.OnSyncSelectedItem method?

from snoopwpf.

batzen avatar batzen commented on May 22, 2024

To be honest, i think this is a bug in snoop itself.

We are using linq here which evaluates lazy and we are using a timer to refresh things.
If the evaluation/refresh take longer than the timer interval, which currently is 250ms, we modify the list we are currently working on.
The problem is that there is no guard against re-entrancy etc..

While debugging i noticed that the powershell integration adds quite some overhead, like this timer and everything it does on tick, even if you don't use the powershell tab at all.

from snoopwpf.

cplotts avatar cplotts commented on May 22, 2024

I'll reopen this ... I honestly didn't look close enough. @batzen I think you are right.

I wonder if we could limit the impact of the PowerShell tab by only starting this timer when the tab is active.

from snoopwpf.

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.