|
#1
|
||||
|
||||
|
Script: Enabling Debug Mode
Last Revision: September 21, 2004 (001) Information This script can be used to enable a debug mode in your setups that is configurable from the command line. This can be useful if you think you may need to do some advanced debugging of your setup on your or a customer's system. To use this function in your Setup Factory 7.0 projects, simply copy and paste it into your Global Functions. You can get there by selecting Resources > Global Functions from the main menu. To enable it at runtime, run your setup and pass it the command line argument "/DEBUG". For example: C:\Output\Setup.exe /DEBUG Code:
bDebugMode = false; local nNumArgs = Table.Count(_CommandLineArgs); if(nNumArgs > 0)then for i,strArg in _CommandLineArgs do if(strArg == "/DEBUG")then bDebugMode = true; end end end if(bDebugMode)then Debug.SetTraceMode(true); Debug.ShowWindow(true); end Type: Setup Factory 7.0 Script Created By: Brett Kapilik Comments? Please post them here. |
![]() |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| help guide on Debug. | TJ_Tigger | AutoPlay Media Studio 5.0 | 0 | 12-03-2003 12:22 PM |
| Overwriting Silent Mode | Bishal | Setup Factory 6.0 | 2 | 10-14-2003 07:02 PM |
| Running in Full Screen (Kiosk) Mode | Desmond | AutoPlay Media Studio 5.0 Examples | 0 | 09-26-2003 11:51 AM |
| Mix Mode CD on 2.0 | AVGuru1 | AutoPlay Menu Studio 3.0 | 3 | 12-23-2000 01:49 PM |
All times are GMT -6. The time now is 08:13 AM.








Linear Mode

