Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Debugging activex control

Status
Not open for further replies.

maslar

Programmer
Sep 3, 2003
5
0
0
US
I am writing an activex control using D7 and I am trying to debug it. I have chosen a host application (a VB6 app) and set a breakpoint. I click "Run/Register ActiveX Server" and then "Run/Run". The host app starts as expected, but when it invokes the activex method that contains the breakpoint, the breakpoint is ignored. I have also tried "Run to Cursor" but with the same result. Is there a setting or detail I am neglecting?
 
I'm not used with D7, so it I can tell you is something especial is needed.

But the debugger lossing breakpoints is not so rare in other Delphi versions; my best advise is to make a "work bench" to debug your control. Or to do a try with the container program the SDK have.

Better at all, fully debug your control while it is still a Delphi component and promote it to ActiveX after debugged, to simplify the final debugging.

buho (A).

 
>Better at all, fully debug your control while it is still a Delphi component and promote it to ActiveX after debugged


I like this idea. Thanks for the suggestion!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top