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 QlikView or Qlik Sense. 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 QlikView or Qlik Sense. In this case, first launch the connector process (by clicking Connect in the QlikView or Qlik Sense 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!