-
-
Notifications
You must be signed in to change notification settings - Fork 357
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Errors require STA #159
Comments
Will add the error to the debug output. |
This is a WPF element hosted in Snoop 2 showed a message box instead (maybe that's an alternative for when STA is not available), saying Can't find a current application or a PresentationSource root visual!. Probably a separate issue, but if that is still the error it is trying to show, can we get at least the tree and properties up without a PresentationSource? The Visual Studio visualizer can do that even in this case (not the Live Tree though). |
Could you try the latest build from appveyor and see if your issue is really fixed? You can grab the latest source build from https://ci.appveyor.com/project/batzen/snoopwpf/branch/develop/artifacts |
Okay, so I confirm that if I choose to not snoop multiple domains, I get an error dialog now (with the error as expected above). If I choose to debug multiple domains, I get the new output and a new exception I believe:
|
The element I am trying to snoop is in |
I added more error handling and more logging. Could you give it another try? |
Indeed, got the message box in both cases now! |
But were you able to see your elements? |
No. I have a repro but it's basically same as in #116. I am running x64 Office though, could that make a difference? |
You are right. |
After some investigation it seems as if Microsoft changed something on their side which currently blocks Snoop from working correctly. |
@miloush This should work now. At least it works on my machine. ;-) |
@batzen it does indeed, thank you very much! |
Could it be possible to print the exception to the debug output before trying to show the error dialog?
The text was updated successfully, but these errors were encountered: