简体   繁体   中英

How to debug a c# activex

I have ac# project that generate my activex component. The debug project is a simple web application that call the registered dll.

Javascript debug points and exceptions works fine.

How can i catch debug points and exception in the ActiveX c# project?

Normally I would attach debugger to the process which calls the component. In visual studio: Debug/Attach to process...

You can also put Debug.Assert(false) in the place where you want to stop to generate a debug prompt. Sometimes it works.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM