Ignore:
Timestamp:
Sep 1, 2004, 4:49:16 PM (21 years ago)
Author:
rjw
Message:

Add pid to exception messages (to help debug dashboard clients).

Reviewed by Chris.

  • kjs/interpreter.cpp: (Interpreter::evaluate):
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/kjs/interpreter.cpp

    r6783 r7431  
    131131    char *f = strdup(sourceURL.ascii());
    132132    const char *message = comp.value().toObject(exec).toString(exec).ascii();
    133     printf("%s:%s\n", f, message);
     133    printf("[%d] %s:%s\n", getpid(), f, message);
     134
    134135    free(f);
    135136    unlock();
Note: See TracChangeset for help on using the changeset viewer.