Console.log()
-
hello everyone,
when I use Console.log, there's nothing logged to the console, how this could be solved ?
I can't debug qml code. -
Hi,
It's
console.log("Some message")
. Did you make the same typo in your code ? -
@Anas-A.-Ismail said:
@vish I did that, and the debugger does not hit the break point.
are you sure that code is executed?
-
I almost attempted all solutions, and I don't know if there're any missing steps.
I check enable qml debugging and profiling in build step, and I enabled qml debugging with C++ , but the debugger never hits any breakpoints inside qml code, and I added CONFIF += console qml_debug, I even tried stand alone debuggers.
Are there any missing steps or configurations should I make ? -
@Anas-A.-Ismail Try to run some simple qml example and put break point and console.log() in event. Its really strange. I don't think we need some kind of config for console.log().