Question

I'd like to attach a debugger to a TWebBrowser control. I'm currently using Delphi.

The functionality I'm looking for is to capture javascript errors as well as being able to pause script execution and step through it (or similar).

Having using this control for some time, I can't for the life of me figure this one out. Problem is all this dynamic API is kind of a black box and difficult to find what I need.

When it comes to JS errors, I'm only able to capture the notorious Exception EOleException 80020101.

If you know anything about this, don't hesitate to put it forward (even if in VB or .NET)!

Note: Microsoft Script Debugger does this job perfectly, anyone knows how they did it?

No correct solution

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top