Skip to main content Skip to complementary content

Debugging your connector

This section describes how to make debugging within the SDK easier.

Simple copy

While developing your connector, you may want to test it in Qlik Sense or QlikView. To avoid copying files manually, add basic commands to your post build events. Note that you must run Visual Studio as administrator to copy files to C:\Program Files.

• copy “$(TargetDir)\*” “C:\Program Files\Common Files\QlikTech\Custom Data\QvEventLogConnectorSimple\”

Attaching to the connector

You will come across at least two different ways of running and debugging your connector:

  1. The first is running the standalone connector from within Visual Studio. In this case, Visual Studio is automatically attached to the connector, which enables debugging of it.
  2. The second way is to run your connector from its installed location or from within Qlik Sense or QlikView. In this case, first launch the connector process (by clicking Connect in the Qlik Sense or QlikView Script Editor). This starts the connector process. If you now open your connector solution in Visual Studio, you can attach to the connector process by selecting Debug -> Attach To Process and then select your process from the list of all running processes.
Information noteIt is crucial that you run the same version of your connector (that is, the connector process) as the version of your Visual Studio solution. If not, Visual Studio cannot perform the debugging properly.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!

Join the Analytics Modernization Program

Remove banner from view

Modernize without compromising your valuable QlikView apps with the Analytics Modernization Program. Click here for more information or reach out: ampquestions@qlik.com