Hi.
I'm trying the scripting tutorial.
https://www.qcad.org/doc/qcad/latest/de ... _tool.html
Where will be this message by this function as output?
qDebug("ExThreePoints.prototype.beginEvent was called.");
I expected that the message will be appear in "debug output" or "console" of "Qt script debugger."
I inserted "Debugger;" in my code and run it, But this message doesn't appear both of there.
Also nothing appeared on the console of QCAD too.
Do I need some setting to show it?
Thank you.
Debug output
Moderator: andrew
Re: Debug output
Assuming you're on Windows.
You'll have to stream the output to a file to view it:
Windows applications cannot show a GUI and output to the console.
You'll have to stream the output to a file to view it:
Code: Select all
qcad.exe 1>log 2>&1
cat log
Re: Debug output
Hi. Andrew.
Thank you for your reply.
As you said, I'm using Windows.
(I should tell it when I posted here...Sorry.)
I tried it below command on command prompt.
Then the Debug message was shown.
NOTE : The command "cat" was not worked.
... I didn't know well about standard stream.
So I searched a little about above command,
I could know "type" is the command on the Windows command prompt to show output.
Thank you for your reply.
As you said, I'm using Windows.
(I should tell it when I posted here...Sorry.)
I tried it below command on command prompt.
Then the Debug message was shown.
Thank you.qcad.exe 1>log 2>&1
cat log
NOTE : The command "cat" was not worked.
... I didn't know well about standard stream.
So I searched a little about above command,
I could know "type" is the command on the Windows command prompt to show output.