Snoop for WPF 4.x Applications

10 views
Skip to first unread message

Cory Plotts

unread,
Jan 19, 2010, 5:29:24 PM1/19/10
to WPF Disciples
I am curious ... has anyone gotten Snoop to work on WPF 4 applications?
 
It not be working for me. :(
 
I even tried converting the Snoop project such that it targets .NET 4.x ... and still no cigar.
 
Thoughts? Ideas? Even better ... solutions? :)

Laurent Bugnion (GalaSoft)

unread,
Jan 20, 2010, 2:32:08 AM1/20/10
to wpf-di...@googlegroups.com

I didn’t try it. I will ask Pete Blois if he has plans to update for WPF4.

 

Cheers,

Laurent

cplotts

unread,
Jan 20, 2010, 8:58:33 AM1/20/10
to WPF Disciples
I sent him an email as well ... let me know if you find anything out.

On Jan 20, 1:32 am, "Laurent Bugnion \(GalaSoft\)"

Laurent Bugnion, GalaSoft

unread,
Jan 20, 2010, 9:14:40 AM1/20/10
to wpf-di...@googlegroups.com
LOL Poor Pete, he will feel bombed :) I sent an email this morning. I will
let you know, please let me know too in case.

Cheers,
Laurent

Cory Plotts

unread,
Jan 20, 2010, 10:29:46 AM1/20/10
to wpf-di...@googlegroups.com
Will do ... I'm debugging it right now ... and it is clear that the current Application is null ... when normally it wouldn't be. I wonder if this is the result of .NET 4.x/WPF 4.x ... running in the new version of the CLR (v4).
 
This, of course, is what made me try and convert Snoop to target .NET 4.x.
 
If I have any breakthroughs ... I will be sure to let everyone know here too.
 
Heh, heh. Pete's going say ... oh, no, it's that Cory guy again. :)

Cory Plotts

unread,
Jan 20, 2010, 10:55:01 AM1/20/10
to wpf-di...@googlegroups.com
Seek and ye shall find! I was just able to get it to work using my converted Snoop project (which targets .NET 4.x).
 
I had a null reference exception that was hiding the fact that it was working yesterday with this same approach, but with a fresh mind, I was able to see that null reference exception (related to a focus feature I'm integrating in) and kill it.
 
So, it is verified then ... the current version of Snoop that is out there ... will not work against WPF 4 applications.
 
I recently went back and forth with Pete about putting Snoop out there as a CodePlex project ... given my recent efforts to make Snoop work with 64-bit applications (http://www.cplotts.com/2009/12/08/snoop-now-with-64-bit-support-and-more/). He thought it was a good idea and so I'm actually in the middle of doing so. It will eventually be published at http://snoopwpf.codeplex.com/.
 
I'll let everyone know when I get everything up there ... but it makes a lot of sense now to also publish (on CodePlex) a version that works with WPF 4. I'll add that to the list of things to do on this matter. Hmmm. That list keeps getting longer. :)

Josh Smith

unread,
Jan 20, 2010, 11:12:43 AM1/20/10
to wpf-di...@googlegroups.com
Thanks Cory.  I think having Snoop on CodePlex is a great idea, too.

Laurent Bugnion, GalaSoft

unread,
Jan 20, 2010, 11:30:40 AM1/20/10
to wpf-di...@googlegroups.com

Very cool, thanks!

Reply all
Reply to author
Forward
0 new messages