From: Hiroo H. <hir...@co...> - 2004-10-26 03:52:36
|
Hi, I'd like to propose the following change. Now the command line syntax is; java JSynthLib [number] My proposal is; usage: java JSynthLib [-D number] [filename...] -D number set debugging flags (argument is a bit mask) 1 misc 2 dump stack 4 MIDI 8 frame ... -1 all 1. debug level is specified by using -D option. 2. If file name of library file is specified, the Library window for the file is opened. 3. debug level will be a bit mask. "-D 1" shows debug messages without dump stack. "-D 3" (3 = 1 | 2) shows debug messages and dump stack. 4. define new method ErrorMsg.reportError(int, String). This is almost same as current ErrorMsg.reportError(String), except the error message is shown only when ORed value of -D option and int argument is not zero. The current debug message for JSLFrame is showed only when the 4th bit from LSB is set to 1 on -D option. -- Hiroo Hayashi |