Re: Select all entries in SeaMonkey v2.0.x's error console?

2011-01-06 Thread Ant

On 1/6/2011 4:55 AM PT, Stefan Sitter typed:


Is there a way to get all entries in SeaMonkey v2.0.x's error console
to copy and paste, or even save to a text file?


You can log all entries from error console to disk by setting
XRE_CONSOLE_LOG, see
https://developer.mozilla.org/en/Debugging_a_XULRunner_Application#JavaScript_Console.


To enable the JS console, start xulrunner with the -jsconsole argument. 
Note: if you are not using the stub executable to launch the 
application, the -jsconsole argument is after the application.ini 
argument: e.g. xulrunner.exe /path/to/application.ini -jsconsole ...


I don't see SeaMonkey v2.0.11's xrulrunner.exe filename in my Windows XP 
Pro. SP3 machine. Do I have to download it from somewhere? I do have 
MediaCoder and Miro v3's xrulrunner.exe though, but I don't think they 
will work with SM2?


FYI, I have never done this before since I don't code/program but I do 
test (SQA). I just want to capture the errors and send to developers of 
the problems. :)

--
An ant may work its (her) heart out, but it (she) can't make money. 
--unknown

   /\___/\ Phil./Ant @ http://antfarm.ma.cx (Personal Web Site)
  / /\ /\ \Ant's Quality Foraged Links: http://aqfl.net
 | |o   o| |
\ _ /If crediting, then use Ant nickname and AQFL URL/link.
 ( ) If e-mailing, then axe ANT from its address if needed.
Ant is currently not listening to any songs on this computer.
___
support-seamonkey mailing list
support-seamonkey@lists.mozilla.org
https://lists.mozilla.org/listinfo/support-seamonkey


Re: Select all entries in SeaMonkey v2.0.x's error console?

2011-01-06 Thread Stefan Sitter

You stopped reading too early. Quoting from the given MDN page:

To log JS errors to disk, set the environment variable
XRE_CONSOLE_LOG to the path to the filename. i.e. export
XRE_CONSOLE_LOG=/path/to/logfile or set
XRE_CONSOLE_LOG=C:\path\to\logfile.


If you set it globally it will apply to all applications based on the 
Mozilla Toolkit, e.g. SeaMonkey, Firefox, Thunderbird, Sunbird, ...

___
support-seamonkey mailing list
support-seamonkey@lists.mozilla.org
https://lists.mozilla.org/listinfo/support-seamonkey


Re: Select all entries in SeaMonkey v2.0.x's error console?

2011-01-06 Thread Ant

On 1/6/2011 7:12 AM PT, Stefan Sitter typed:


You stopped reading too early. Quoting from the given MDN page:

To log JS errors to disk, set the environment variable
XRE_CONSOLE_LOG to the path to the filename. i.e. export
XRE_CONSOLE_LOG=/path/to/logfile or set
XRE_CONSOLE_LOG=C:\path\to\logfile.


If you set it globally it will apply to all applications based on the
Mozilla Toolkit, e.g. SeaMonkey, Firefox, Thunderbird, Sunbird, ...


Do I use set the path in Windows XP's environment variables? I tried 
that export command in its cmd.exe, but it failed:


C:\export
'export' is not recognized as an internal or external command,
operable program or batch file.
--
Forbear, thou great good husband, little ant. --Richard Lovelace
   /\___/\ Phil./Ant @ http://antfarm.ma.cx (Personal Web Site)
  / /\ /\ \Ant's Quality Foraged Links: http://aqfl.net
 | |o   o| |
\ _ /If crediting, then use Ant nickname and AQFL URL/link.
 ( ) If e-mailing, then axe ANT from its address if needed.
Ant is currently not listening to any songs on this computer.
___
support-seamonkey mailing list
support-seamonkey@lists.mozilla.org
https://lists.mozilla.org/listinfo/support-seamonkey


Re: Select all entries in SeaMonkey v2.0.x's error console?

2011-01-06 Thread Philip Chee
On Thu, 06 Jan 2011 03:49:17 -0800, Ant wrote:
 Hello.
 
 Is there a way to get all entries in SeaMonkey v2.0.x's error console to 
 copy and paste, or even save to a text file?
 
 Thank you in advance. :)

Use my extension:
http://console2.mozdev.org/

Phil

-- 
Philip Chee phi...@aleytys.pc.my, philip.c...@gmail.com
http://flashblock.mozdev.org/ http://xsidebar.mozdev.org
Guard us from the she-wolf and the wolf, and guard us from the thief,
oh Night, and so be good for us to pass.

___
support-seamonkey mailing list
support-seamonkey@lists.mozilla.org
https://lists.mozilla.org/listinfo/support-seamonkey


Re: Select all entries in SeaMonkey v2.0.x's error console?

2011-01-06 Thread Philip Chee
On Thu, 06 Jan 2011 16:12:52 +0100, Stefan Sitter wrote:
 You stopped reading too early. Quoting from the given MDN page:
 To log JS errors to disk, set the environment variable
 XRE_CONSOLE_LOG to the path to the filename. i.e. export
 XRE_CONSOLE_LOG=/path/to/logfile or set
 XRE_CONSOLE_LOG=C:\path\to\logfile.
 
 If you set it globally it will apply to all applications based on the 
 Mozilla Toolkit, e.g. SeaMonkey, Firefox, Thunderbird, Sunbird, ...

As far as I can tell it only logs startup errors then stops.
http://mxr.mozilla.org/mozilla-central/source/toolkit/xre/nsAppRunner.cpp#1115

Phil

-- 
Philip Chee phi...@aleytys.pc.my, philip.c...@gmail.com
http://flashblock.mozdev.org/ http://xsidebar.mozdev.org
Guard us from the she-wolf and the wolf, and guard us from the thief,
oh Night, and so be good for us to pass.

___
support-seamonkey mailing list
support-seamonkey@lists.mozilla.org
https://lists.mozilla.org/listinfo/support-seamonkey


Re: Select all entries in SeaMonkey v2.0.x's error console?

2011-01-06 Thread Jens Hatlak

Ant wrote:

You stopped reading too early. Quoting from the given MDN page:

To log JS errors to disk, set the environment variable
XRE_CONSOLE_LOG to the path to the filename. i.e. export
XRE_CONSOLE_LOG=/path/to/logfile or set
XRE_CONSOLE_LOG=C:\path\to\logfile.


Do I use set the path in Windows XP's environment variables? I tried
that export command in its cmd.exe, but it failed:

C:\export
'export' is not recognized as an internal or external command,
operable program or batch file.


If you look at the MDN page you'll see that different fonts are used and 
that it's *either* export (Unix/Linux) *or* set (Windows).


HTH

Jens

--
Jens Hatlak http://jens.hatlak.de/
SeaMonkey Trunk Tracker http://smtt.blogspot.com/
___
support-seamonkey mailing list
support-seamonkey@lists.mozilla.org
https://lists.mozilla.org/listinfo/support-seamonkey


Re: Select all entries in SeaMonkey v2.0.x's error console?

2011-01-06 Thread Ant

On 1/6/2011 11:17 AM PT, Philip Chee typed:


Is there a way to get all entries in SeaMonkey v2.0.x's error console to
copy and paste, or even save to a text file?

Thank you in advance. :)


Use my extension:
http://console2.mozdev.org/


OK, that's awesome! I would love to see Mozilla implement your 
extension. BTW, no recent updates? :(

--
Did the ant fall off the toilet seat because she was pissed off? --unknown
   /\___/\ Phil./Ant @ http://antfarm.ma.cx (Personal Web Site)
  / /\ /\ \Ant's Quality Foraged Links: http://aqfl.net
 | |o   o| |
\ _ /If crediting, then use Ant nickname and AQFL URL/link.
 ( ) If e-mailing, then axe ANT from its address if needed.
Ant is currently not listening to any songs on this computer.
___
support-seamonkey mailing list
support-seamonkey@lists.mozilla.org
https://lists.mozilla.org/listinfo/support-seamonkey