Debugging extensions in Visual Studio

To debug an extension in Visual Studio, script debugging has to be enabled in Internet Explorer®. Proceed as follows:

  1. Open Internet Explorer.
  2. Select Tools>Internet Options.

  3. In the Internet Options dialog, select the Advanced tab.

  4. Make sure that the Disable script debugging (Other) box is deselected.

  5. To make the execution of the extension break, add the statement debugger; anywhere in the JavaScript code. For example, the following causes Visual Studio to prompt for how to debug:

    Qv.AddExtension('QlikView/Examples/HtmlText', function() { debugger; <normal_extension_code> });
  6. If Visual Studio is used for developing an extension, select to debug in that instance of Visual Studio, otherwise select a new instance.

Did this information help you?

Thanks for letting us know. Is there anything you'd like to tell us about this topic?

Can you tell us why it did not help you and how we can improve it?