Ignore:
Timestamp:
Jul 27, 2005, 4:10:48 PM (20 years ago)
Author:
mjs
Message:

Changes by Michael Kahl, reviewed by me.

  • fixed <rdar://problem/4194278> Need better debugging support in JavaScriptCore
  • JavaScriptCore.xcodeproj/project.pbxproj:
  • kjs/debugger.cpp: (KJS::AttachedInterpreter::AttachedInterpreter): (KJS::AttachedInterpreter::~AttachedInterpreter): (Debugger::~Debugger): (Debugger::attach): (Debugger::detach): (Debugger::sourceParsed):
  • kjs/debugger.h:
  • kjs/function.cpp: (KJS::FunctionImp::call): (KJS::GlobalFuncImp::call):
  • kjs/function_object.cpp: (FunctionObjectImp::construct):
  • kjs/grammar.y:
  • kjs/internal.cpp: (Parser::parse): (InterpreterImp::evaluate):
  • kjs/internal.h: (KJS::InterpreterImp::setDebugger):
  • kjs/interpreter.cpp:
  • kjs/interpreter.h: (KJS::Interpreter::imp):
  • kjs/nodes.cpp:
File:
1 edited

Legend:

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

    r9768 r9929  
    218218  Debugger *dbg = exec->dynamicInterpreter()->imp()->debugger();
    219219  if (dbg) {
    220     bool cont = dbg->sourceParsed(exec,sid,body,errLine);
     220    // send empty sourceURL to indicate constructed code
     221    bool cont = dbg->sourceParsed(exec,sid,UString(),body,errLine);
    221222    if (!cont) {
    222223      dbg->imp()->abort();
Note: See TracChangeset for help on using the changeset viewer.