MacOS Terminal doesnt show in-/output when debugging
-
You misunderstood my question: what happens if you start Terminal manually and do the debugging directly from there ?
-
wrote on 22 Apr 2021, 20:21 last edited by
I have never tried it and to be honest i dont know how this works as i justed started a week ago.
Is there any manual / guidance i can follow and try? -
Apple has you covered here.
-
wrote on 22 Apr 2021, 21:18 last edited by
sven@Svens-MBP Desktop % $lldb /Users/sven/PAD1_Praktikum1_Aufgabe1/PAD1_Praktikum1_Aufgabe1 Geben Sie eine ganze positive Zahl ein! 10 Oberflaeche:600 Volumen:1000 sven@Svens-MBP Desktop %
It seems that its working. I was able launch/debug the program.
-
Looks like it's a Qt Creator issue.
Do you have the same if you debug a default Qt application ?
-
wrote on 23 Apr 2021, 07:41 last edited by slepp
-
@slepp said in MacOS Terminal doesnt show in-/output when debugging:
Yes, same problem :-(
That's not a Qt default application. What I meant a default Qt widget application.
-
Hi,
On macOS syslog() must be use:#include <syslog.h> int main(int argc, char *argv[]) { syslog(LOG_ERR,"%s\n","hello"); return a.exec(); }
See: Here
@mpergand this is unrelated to the problem at hand. It's the debugging that fails from Qt Creator.
-
wrote on 24 Apr 2021, 11:20 last edited by
@SGaist said in MacOS Terminal doesnt show in-/output when debugging:
Qt widget application
Oh sorry, now I tried to create a QT widget application, according to this guideline: https://doc.qt.io/qtcreator/creator-writing-program.html
When I debug with the terminal, nothing happens in there as well.
-
Which version of Xcode did you install ?
-
wrote on 26 Apr 2021, 09:02 last edited by
I've installed Version12.4 (12D4e)
-
Looks like it might a bug.
Can you test the current beta version of Qt Creator ?
-
wrote on 26 Apr 2021, 22:19 last edited by
I just tried the same thing under version Qt Creator 4.15.0-rc1 (4.14.84), still the same problem as with Qt Creator 4.14.2 :-(
-
Then you should check the bug report system to see if there's something related there.
13/18