Changeset 15026 in webkit for trunk/JavaScriptCore/kjs
- Timestamp:
- Jun 25, 2006, 10:53:03 AM (19 years ago)
- Location:
- trunk/JavaScriptCore/kjs
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/kjs/debugger.cpp
r14896 r15026 84 84 85 85 bool Debugger::sourceParsed(ExecState */*exec*/, int /*sourceId*/, const UString &/*sourceURL*/, 86 const UString &/*source*/, int /* errorLine*/)86 const UString &/*source*/, int /*startingLineNumber*/, int /*errorLine*/, const UString & /*errorMsg*/) 87 87 { 88 88 return true; -
trunk/JavaScriptCore/kjs/debugger.h
r13017 r15026 104 104 * @param sourceURL Where the source code that was parsed came from 105 105 * @param source The source code that was parsed 106 * @param startingLineNumber The line number at which parsing started 106 107 * @param errorLine The line number at which parsing encountered an 107 108 * error, or -1 if the source code was valid and parsed successfully 109 * @param errorMsg The error description, or null if the source code 110 was valid and parsed successfully 108 111 * @return true if execution should be continue, false if it should 109 112 * be aborted 110 113 */ 111 114 virtual bool sourceParsed(ExecState *exec, int sourceId, const UString &sourceURL, 112 const UString &source, int errorLine);115 const UString &source, int startingLineNumber, int errorLine, const UString &errorMsg); 113 116 114 117 /** -
trunk/JavaScriptCore/kjs/function.cpp
r14900 r15026 796 796 Debugger *dbg = exec->dynamicInterpreter()->debugger(); 797 797 if (dbg) { 798 bool cont = dbg->sourceParsed(exec, sid, UString(), s, errLine);798 bool cont = dbg->sourceParsed(exec, sid, UString(), s, 0, errLine, errMsg); 799 799 if (!cont) 800 800 return jsUndefined(); -
trunk/JavaScriptCore/kjs/function_object.cpp
r14834 r15026 191 191 if (dbg) { 192 192 // send empty sourceURL to indicate constructed code 193 bool cont = dbg->sourceParsed(exec, sid,UString(),body,errLine);193 bool cont = dbg->sourceParsed(exec, sid, UString(), body, lineNumber, errLine, errMsg); 194 194 if (!cont) { 195 195 dbg->imp()->abort(); -
trunk/JavaScriptCore/kjs/interpreter.cpp
r14951 r15026 442 442 // notify debugger that source has been parsed 443 443 if (m_debugger) { 444 bool cont = m_debugger->sourceParsed(&m_globalExec, sid, sourceURL, UString(code, codeLength), errLine);444 bool cont = m_debugger->sourceParsed(&m_globalExec, sid, sourceURL, UString(code, codeLength), startingLineNumber, errLine, errMsg); 445 445 if (!cont) 446 446 return Completion(Break);
Note:
See TracChangeset
for help on using the changeset viewer.