Closed
Bug 122534
Opened 23 years ago
Closed 13 years ago
Ability in non-debug builds to send Error Console stuff to system console
Categories
(Core :: XPCOM, enhancement)
Core
XPCOM
Tracking
()
RESOLVED
INCOMPLETE
Future
People
(Reporter: matt, Unassigned)
Details
Attachments
(1 file)
|
2.89 KB,
patch
|
shaver
:
review+
benjamin
:
superreview-
|
Details | Diff | Splinter Review |
Currently, the stuff that goes to the JavaScript console only goes to the
system console for debug builds. I'd find it useful to be able to activate
this for non-debug builds, in the same way that you can now turn on the "dump()"
function, which previously only worked in the debug builds.
Comment 1•23 years ago
|
||
Please measure the performance effects of any changes you make here (both with
the pref on and off)....
Updated•23 years ago
|
Status: NEW → ASSIGNED
Target Milestone: --- → Future
*** This bug has been marked as a duplicate of 84204 ***
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
argh. At first glance these bugs looked identical, but now I see that they are
not. Ignore dupe message.
Status: RESOLVED → REOPENED
Resolution: DUPLICATE → ---
Updated•19 years ago
|
Assignee: hewitt → js-console
Status: REOPENED → NEW
Comment 4•19 years ago
|
||
This patch uses an ENV var to turn on logging to stderr.
Attachment #210352 -
Flags: review?(shaver)
Comment 5•19 years ago
|
||
Comment on attachment 210352 [details] [diff] [review]
patch
r=shaver! r=shaver!
I'd kinda like another name for the variable, but I'll let bsmedberg pick it.
Attachment #210352 -
Flags: superreview?(benjamin)
Attachment #210352 -
Flags: review?(shaver)
Attachment #210352 -
Flags: review+
Attachment #210352 -
Flags: approval-branch-1.8.1?(benjamin)
Comment 6•19 years ago
|
||
Comment on attachment 210352 [details] [diff] [review]
patch
You need to check
const char *env = PR_GetEnv("var");
if (env && *env)...
because using the PR functions an empty environment variable is supposed to act the same as an unset var.
Is XPCOM_CONSOLE_TO_STDERR too long?
Attachment #210352 -
Flags: superreview?(benjamin) → superreview-
Updated•19 years ago
|
Attachment #210352 -
Flags: approval-branch-1.8.1?(benjamin)
Summary: Ability in non-debug builds to send JavaScript Console stuff to system console → Ability in non-debug builds to send Error Console stuff to system console
| Assignee | ||
Updated•17 years ago
|
Product: Core → SeaMonkey
Updated•15 years ago
|
Assignee: error-console → nobody
Component: Error Console → XPCOM
Product: SeaMonkey → Core
QA Contact: jrgmorrison → xpcom
Updated•13 years ago
|
Status: NEW → RESOLVED
Closed: 23 years ago → 13 years ago
Resolution: --- → INCOMPLETE
You need to log in
before you can comment on or make changes to this bug.
Description
•