how to debug script file?
-
i have a vc project in which i call the function in a script file(test.cfg), it's a jscript file, now i met a problem, so i wanna debug the script file, but i don't know how to do this, i add debugger in the file, but it doesn't work. can anyone help me?thanks in advance
-
i have a vc project in which i call the function in a script file(test.cfg), it's a jscript file, now i met a problem, so i wanna debug the script file, but i don't know how to do this, i add debugger in the file, but it doesn't work. can anyone help me?thanks in advance
I seem to recall putting lots of message boxes to screen when I needed to debug script files. Christian Graus - Microsoft MVP - C++
-
I seem to recall putting lots of message boxes to screen when I needed to debug script files. Christian Graus - Microsoft MVP - C++
hi, Christian Graus, thanks for yor reply. how could i pop up a message dialog in jscript? which function should i call? by the way i call the script function in this way. this might be in another thread or process, are u sure popup message dialog works in this case? CComPtr spScript; ..... CComDispatchDriver spDisp; spScript->GetScriptDispatch(scriptfilename, &spDisp); spDisp.Invoke1(L"fun1", &v);
-
hi, Christian Graus, thanks for yor reply. how could i pop up a message dialog in jscript? which function should i call? by the way i call the script function in this way. this might be in another thread or process, are u sure popup message dialog works in this case? CComPtr spScript; ..... CComDispatchDriver spDisp; spScript->GetScriptDispatch(scriptfilename, &spDisp); spDisp.Invoke1(L"fun1", &v);
HeartFriend wrote: how could i pop up a message dialog in jscript? which function should i call? From memory, it's alert("message"); HeartFriend wrote: this might be in another thread or process, are u sure popup message dialog works in this case? No, I'm not. Christian Graus - Microsoft MVP - C++