Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
albertovarela
Partner - Specialist
Partner - Specialist

Debugging takes an eternity

Hey Community,

I am debugging a loading script and it takes an eternity to go through the QDF Init section. Is there a way to speed it up or skip the section?

Thanks

1 Solution

Accepted Solutions
Magnus_Berg
Employee
Employee

Hi, and sorry for late reply. I agree that initiating is a problem during debugging. To help out with this try InitLinkSkip, place it next to InitLink and just replace the include to this one. 

Bypass initiation during development

Replace InitLink.qvs with InitLinkSkip.qvs during initiation to bypass initiation steps to improve performance and thereby debug experience. Limitations are that initiation is needed first time to populate global variables, and any change, like updated global variables need to reinitiate. Example:
$(Include=lib://Root\InitLinkSkip.qvs);

View solution in original post

2 Replies
Magnus_Berg
Employee
Employee

Hi, and sorry for late reply. I agree that initiating is a problem during debugging. To help out with this try InitLinkSkip, place it next to InitLink and just replace the include to this one. 

Bypass initiation during development

Replace InitLink.qvs with InitLinkSkip.qvs during initiation to bypass initiation steps to improve performance and thereby debug experience. Limitations are that initiation is needed first time to populate global variables, and any change, like updated global variables need to reinitiate. Example:
$(Include=lib://Root\InitLinkSkip.qvs);

albertovarela
Partner - Specialist
Partner - Specialist
Author

Thanks @Magnus . It works like a charm