Debugging an XBAP application with 64-bit browser
Posted
by
Anne Schuessler
on Stack Overflow
See other posts from Stack Overflow
or by Anne Schuessler
Published on 2011-01-06T12:50:22Z
Indexed on
2011/01/06
12:53 UTC
Read the original article
Hit count: 275
We have an XBAP application that fails when opened in Internet Explorer 8 64 bit. We only get a pretty generic error which makes it hard to determine where the error is coming from.
I'm trying to find a way to debug the application with IE 8 64 bit, but I haven't figured out how to do this. I can't set the 64 bit version as the standard browser and overwriting the browser path in the browsers.xml for Visual Studio doesn't work as well. It just gets overwritten as soon as I hit F5 to debug to point to the 32 bit IE.
I have figured out how to start the application from Debug with the 64 bit browser by changing the Debug options from "Start browser with URL" to "Start external program" and setting the command line arguments to point to the bin folder.
Unfortunately then the XBAP is looking for its config.deploy file which doesn't seem to be generated during regular debug. This doesn't happen when using "Start browser with URL" and the application doesn't seem to care for this file then.
Does anybody know why there's a difference between "Start browser with URL" and "Start external program" in the Debug options which might cause this difference in behavior when Debug is started?
Also, does anybody know how to successfully debug an XBAP with a 64-bit browser?
© Stack Overflow or respective owner