GithubHelp home page GithubHelp logo

Comments (8)

batzen avatar batzen commented on June 3, 2024 1

Can reproduce this and will fix it after my vacation.
Thanks for reporting.

from snoopwpf.

batzen avatar batzen commented on June 3, 2024 1

So, after some investigation this is not caused by self-contained, but by single-file combined with self-contained instead.

I will need some more time to find a solution for this as the dlls required to inject Snoop are not loaded as modules.

from snoopwpf.

batzen avatar batzen commented on June 3, 2024

I tried and investigated a lot, but it seems impossible, as of now, to attach to a single file self-contained app.
Even Visual Studio, at least on my machine, can't debug such an app.

I won't give up. But for now, will set my priorities on other problems till i might have a bright moment on how to solve this issue.

from snoopwpf.

okipol88 avatar okipol88 commented on June 3, 2024

@batzen I did encounter some issues with singlefilehost and attaching to release with PDB files ... etc
It is working in 17.4.0 Preview 4.0 ... Maybe you could check it out?

More info:

dotnet/runtime#76601

from snoopwpf.

okipol88 avatar okipol88 commented on June 3, 2024

Hey,

I just tested it while trying to leave a response here:

VS debugger break

It works :O.
Can you check on your side? I am wondering if this is a Windows/.NET security fix that carried it over or what.
My colleague also checked it on his laptop which suffered the same problem and as of now its gone.

If it works we could close this issue.

UPDATE:
Yeah so probably I got some dll copy pasted over or something.
Re-compiled and double checked. Snoop still cannot inject and "debug".

Issue still valid.

from snoopwpf.

batzen avatar batzen commented on June 3, 2024

NGen is for .NET Framework (.NET 4.5 etc.) and not for .NET (Core).
That's totally unrelated to this issue ;-)

from snoopwpf.

batzen avatar batzen commented on June 3, 2024

Single-file self-contained does not mean native.
AOT would be native.
But as WPF is not AOT friendly I never tried Snoop for that case. But I guess Snoop won't work for AOT compiled apps.

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.