c# - Issues Debugging MVVM Bindings in Visual Studio 2010? -


i'm developing application in visual studio using mvvm light , ninject. unfortunately, when try debug application , there's problem in 1 of viewmodels, instead of debugging code, this:

example debug image

this rather useless , impossible debug. now, if know error or have idea, can insert breakpoints there in code , visual studio show correct info, don't know error is. can't breakpoint every line of code in application. there way force visual studio past ui , debug actual code?

there no need set owner of application main window.

the correct way set owner of window in xaml follows

<object>   <object.owner>     <window .../>   </object.owner> </object> 

alternatively can set code behind

// create window , make window owner window ownedwindow = new window(); ownedwindow.owner = this; ownedwindow.show(); 

the way have done wpf tries convert string "auto_calibrator_v0._05.mainwindow" window object not possible unless have type converter.


Comments

Popular posts from this blog

java - JavaFX 2 slider labelFormatter not being used -

Detect support for Shoutcast ICY MP3 without navigator.userAgent in Firefox? -

web - SVG not rendering properly in Firefox -