Reputation: 24989
is it possible to get snoop to profile WPF Windows launched from WinForms app?
Upvotes: 4
Views: 1947
Reputation: 62939
Yes it is. Snoop can easily be used with WPF Windows launched from a WinForms app. Specifically, Snoop will:
Note that when Snoop first attaches to a process it displays Application.MainWindow, or if that isn't set, the first PresentationSource registered that is still showing. This doesn't stop you from snooping other WPF content, however: Just place the mouse over the WPF content you want to snoop and hit Ctrl+Shift.
Nitpick: What Snoop does isn't actually called "profiling." "Profiling" means measuring what methods are called and how much time is spent in them. So to be very precise the answer is "no," but I doubt you were really asking about profiling.
Upvotes: 4