mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm If debugging must be done from the beginning of SOURCE-UNIT-PROJECT, then general strategy is: mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm Be sure that S2S is not in Debug and Suspend modes ( Stop Debug and Resme in menu\Control if this is not done yet or Reset Compi. ) Run Schema from menu. This will avoid debug output during schema compilation. Set menu\Debug and menu\Suspend; Run Source; Click on menu\Step to make steps and view convertion process on console in details. mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm Probably the simpliest way to debug is: 1. set stop point in schema by using ..suspend action, 2. when S2S stopped at this location during conversion, then bright indicator "Step" turns on on the buttom of S2S screen, 3. select menu/Control/Debug if there is a need to trace conversion, 4. at any time user can view any schema variable by selecting menu/Control/View Variable, 5. click menu/Step to trace execution step by step. mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm It may be important to select fragments of schema or source text to debug because total debug output may take Megabytes of text. mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm Fragments for debugging can be set using commands: ================================================= ..debug.true ..debug.false ..suspend.true ..suspend.false If you know how given schema works, it may be clear where to put this commands. Text fragement can be selected for debugging if =============================================== to put some "impossible string" like ^^^do_debug in the beginning of fragment in text and add an event to the beginning of schema: - ^^^do_debug ..debug.t Then add a string to the end of fragment like ^^^stop_debug and add an event: - ^^^stop_debug ..debug The same technique can be used for suspending. If you need to debug schema-compilation, then macros ==================================================== |debug and |suspend can be put in schema |debug.f and/or |suspend.f can be put to stop debugging/suspending.