I have a very very very long script and I already split it up in about 5 separate parts, 1 part to talk to InDesign, another part to talk to a WebService and another one is doing the styling of a table in InDesign, and some more…
I’m loading the different parts with the use command in a main script.
so in my main script I can say tell StyleTableLibrary to doSomething()
in the StyleTableLibrary I have a property with the InDesignLibrary
so in the StyleTableLibrary handler doSomething() you can call a handler in the InDesignLibrary
Now I want to debug a handler in the StyleTableLibrary script.
So I thought to place the complete StyleTableLibrary in the main script but then ScriptDebugger hangs probably because the complete scripts becomes too long.
Is there any way to debug the StyleTableLibrary without the need to import that script in the main script?
Can somebody guide me in a correct direction?