- Code: Select all
; ------------------------------------------------------------------------------
; VTT system includes
; ------------------------------------------------------------------------------
#include <vtt/base/VTT_base.au3>
; ------------------------------------------------------------------------------
; All non case-files in Cases folder
; ------------------------------------------------------------------------------
; ------------------------------------------------------------------------------
; All case function files
; ------------------------------------------------------------------------------
#include <Cases/_preparation.au3>
#include <Cases/measurementSetupTest.au3>
#include <Cases/_finalization.au3>
the vtt/base/VTT_base.au3 makes a "StandaloneCall()" ( static function call ).
AutoIt executes it when including the base.
This function executes user functions ( that cases ) with "call(...)".
Debugger will run into the StandaloneCall, and then the problem: it does not open the CASES-Files beyond the standalone call.
AutoIt will find them an call them, but the debugger must be more "smart" and just open all available include files BEFORE doing anything executive...
if i would write the include with the CASES folders before the base include, then the debugger works, but then the base-globals are not known anymore to the case-functions.
