Reputation:
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?
Upvotes: 0
Views: 544
Reputation: 5689
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.
Upvotes: 1