Open
Bug 1828658
Opened 1 year ago
Updated 1 year ago
JavaScript tracing to stdout doesn't work on windows
Categories
(DevTools :: Debugger, defect, P3)
DevTools
Debugger
Tracking
(Not tracked)
NEW
People
(Reporter: ochameau, Unassigned)
References
(Depends on 1 open bug)
Details
By default, when running firefox via firefox.exe /console
or firefox.exe /attach-console
,
traces logged to stdout wouldn't work unless they are from the parent process.
This relates to bug 1189223.
A workaround exists, it is about running firefox from PowerShell, like this:
.\firefox.exe | Tee-Object CON
But it would be nice to have this working without any workaround.
Reporter | ||
Comment 1•1 year ago
|
||
Note that the JS Tracer relies on dump
which logs to stdout like this:
https://searchfox.org/mozilla-central/rev/31f5847a4494b3646edabbdd7ea39cb88509afe2/js/xpconnect/loader/mozJSModuleLoader.cpp#211-212
fputs(utf8str.get(), stdout);
fflush(stdout);
Updated•1 year ago
|
Severity: -- → S3
Priority: -- → P3
You need to log in
before you can comment on or make changes to this bug.
Description
•