Debug a .NET applet

M

MarcuEusebiu

Hello...
I have a Windows Forms UserControl in a ClassLibrary and I use this
UserControl as an applet in IE. Both WebApplication and UserControl
are in C#.NET 2.0. The UC has a button with a handler on it`s click
event.
I import the UserControl in a ASPX page using the <object> tag.
How can I debug into the UC when I click the UC button?

Thanks
 
G

Guest

In this type of deployment scenario, your control is being hosted in Internet
Explorer in the client browser, not on the server where it would be visible
to the Visual Studio.NET debugger.
Peter
 
G

Guest

Yes, that is correct, you should be able to attach the debugger to Internet
Explorer.
It's not fun though.
Peter
 
M

MarcuEusebiu

Thanks for the answer. I know it isn't fun, but it's usefull.. :)
If I try that mechanism in VS2005, and I set a breakpoint,
VisualStudio says that it will hit it... but it dosen't...
Anyway... I've made a "debug" by writing some messages in EventLog.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top