Qlik Community

Ask a Question

New to Qlik Sense

If you’re new to Qlik Sense, start with this Discussion Board and get up-to-speed quickly.

Announcements
QlikWorld May 10-12, Online and Free! REGISTER NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
rohitk1609
Specialist III
Specialist III

Detect Debug mode in script

Hi Techies,

I am running a script (manually) in the debug mode. I need to execute or skip a portion of the script in this case. So I need to detect (at the beginning of the script) that it's running in Debug mode.

 

Thanks,

Rohit

Labels (1)
1 Solution

Accepted Solutions
JordyWegman
Partner
Partner

Hi,

Yes, subroutines and activate them will calls. 

Jordy

Climber

Work smarter, not harder

View solution in original post

6 Replies
JordyWegman
Partner
Partner

Hi Rohitk,

Qlik Sense doesn't 'know' that it is running in debug mode.

What you could do is set subs in your script and make a page where you can activate/deactivate the calls for the subs specially for the debug mode.

Jordy

Climber

Work smarter, not harder
rohitk1609
Specialist III
Specialist III
Author

set subs you are talking about sub routines ?
JordyWegman
Partner
Partner

Hi,

Yes, subroutines and activate them will calls. 

Jordy

Climber

Work smarter, not harder

View solution in original post

EeroS
Contributor II
Contributor II

  • You can use Qlik manuals like "QlikView 11 for Developers" -By Garcia M., Harmsen B. to debug.
  • See chapter 7, page 247 to start DEBUG process in many distinct ways.
  • You can find script information too easily in this GREAT manual !

 

Cheers, Have a Great Labour Day, Glada Vapen !

 

Finnish Bears.

 

SE
rohitk1609
Specialist III
Specialist III
Author

My only question is, can we detect that execution of script is in debug mode or not ? I want to put a condition on debug mode execution. Is it possible?
EeroS
Contributor II
Contributor II

Hello ! As to my understanding you cant "debug on the Fly". Agreed with Climber expert above. Cheers, Finnish Bears.

SE