Hello, Andrew.
We know the code is realized by JavaScript. When I debug the code I cannot debug the js file. Can you teach me how to debug JavaScript code with QtCreator?
Look forward to your reply.
fang_h_y
How to Debug JavaScript code in the QtCreator?
Moderator: andrew
Forum rules
Always indicate your operating system and QCAD version.
Attach drawing files, scripts and screenshots.
Post one question per topic.
Always indicate your operating system and QCAD version.
Attach drawing files, scripts and screenshots.
Post one question per topic.
Re: How to Debug JavaScript code in the QtCreator?
You can output states and variable values to stderr using qDebug("some string" + someVariable);
Use -enable-script-debugger to show the script debugger when an exception occurs of when the debugger; statement is used in your code.
Use -enable-script-debugger to show the script debugger when an exception occurs of when the debugger; statement is used in your code.
Re: How to Debug JavaScript code in the QtCreator?
Hello, andrew
Thank you very much!
fang_h_y
Thank you very much!
fang_h_y