質問

I want to debug an issue that does not happen when I run my application from VisualStudio but it does happen when I run it directly from localhost. It is a Silverlight app.

So I thought I should use "Attach to process" to find out what is going on. So I run my application directly from localhost - not from VS - and then in VS I pick Attach to process and select my localhost process. But it never hits my breakpoints. Is there some other settings I am missing to be able to debug it this way?

enter image description here

役に立ちましたか?

解決

If you are running a Silverlight app, you'll have to attach to the browser that is hosting the XAP (IE, Chrome, etc) in order to attach to the code.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top