Project

General

Profile

Actions

Support Request #11862

closed

How to get console.log() output from Javascript/QML

Added by hidden almost 4 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Normal
Customer:
AUDI
Department:
EF
Requester's Priority:
Normal
Support Level:
3rd Level
Resolution:
Workaround Available
Affected Products:
Platform:
Windows 10 64bit
Topic:
ADTF::Common
FAQ Links:

Description

Supportanfrage

We are trying to follow one of ADTF-examples, in which the pins are dynamically created via right-click on Filter, and "Create pins from playback files" (Figure 1). This in turns calls a .qml script (adtf_playback_input_filtereditor.qml in Figure 2) and generates dynamic pins.
As we are following the same process, and writing our own qml, I wanted to ask where do we see the console.log() information that is logged inside the qml skript? This Info. does not appear in ADTF-Log-View.

Abbildung 1

Abbildung 2

We are thankful for your help.

Lösung

The javascript console is not rerouted and prints directly to the terminal of the OS.
When using windows unfortunately there is no terminal window.
A possible solution is to use Visual Studio and attach the the Configuration-Editor.
Then the log messages will be readable within he Visual Studio Output Window.

We are currently working on a solution to address this problem.


Files

image002.jpg (28.3 KB) image002.jpg hidden, 2020-08-05 17:30
image006.jpg (16.2 KB) image006.jpg hidden, 2020-08-05 17:30
Actions

Also available in: Atom PDF