Stepping into Catel Code - Breakpoints

Topics: Questions
Aug 15, 2012 at 6:56 AM
Edited Aug 15, 2012 at 6:59 AM

Hello Geert,

I have a problem with Catel and the infragistics DockingManager control.
As long as the frames are docked, all is working correct.
When I drag a pane out as flying window, the application becomes very slow.

I've analyzed the behaviour with the InsightProfiler and found out the method
Catel.Windows.DependencyObjectExctensions.FindLogicalOrVisualAncestor
is called millions of times.
You can find a screenshot of the analysis here.
All the small boxes without visible text are also calles to FindLogicalOrVisualAncestor.

I've tried to compile catel for myself to get debugging capabilities, but that failed.
Then I've seen that VS could load the sources from the symbolserver as well.
But I do not have an idea how to set a breakpoint into the FindLogicalOrVisualAncestor method using this way.
The code is called implicit from catel, so I even cannot step into it.

Any idea?
Thanks, alex. 

Aug 15, 2012 at 2:04 PM

Okay, I finally managed to compile the sources after disabling Fody at all.
I found my problems come from the missing InfoBarMessageControl which is no more available on floating panes...
Setting the default for the messagebar search to false solves the current issue.