| Index: src/debug.cc
|
| ===================================================================
|
| --- src/debug.cc (revision 5696)
|
| +++ src/debug.cc (working copy)
|
| @@ -1038,7 +1038,7 @@
|
| Factory::LookupAsciiSymbol("IsBreakPointTriggered");
|
| Handle<JSFunction> check_break_point =
|
| Handle<JSFunction>(JSFunction::cast(
|
| - debug_context()->global()->GetProperty(
|
| + debug_context()->global()->GetPropertyNoExceptionThrown(
|
| *is_break_point_triggered_symbol)));
|
|
|
| // Get the break id as an object.
|
| @@ -1847,7 +1847,8 @@
|
| // Clear the mirror cache.
|
| Handle<String> function_name =
|
| Factory::LookupSymbol(CStrVector("ClearMirrorCache"));
|
| - Handle<Object> fun(Top::global()->GetProperty(*function_name));
|
| + Handle<Object> fun(Top::global()->GetPropertyNoExceptionThrown(
|
| + *function_name));
|
| ASSERT(fun->IsJSFunction());
|
| bool caught_exception;
|
| Handle<Object> js_object = Execution::TryCall(
|
| @@ -1954,7 +1955,8 @@
|
|
|
| // Create the execution state object.
|
| Handle<String> constructor_str = Factory::LookupSymbol(constructor_name);
|
| - Handle<Object> constructor(Top::global()->GetProperty(*constructor_str));
|
| + Handle<Object> constructor(Top::global()->GetPropertyNoExceptionThrown(
|
| + *constructor_str));
|
| ASSERT(constructor->IsJSFunction());
|
| if (!constructor->IsJSFunction()) {
|
| *caught_exception = true;
|
| @@ -2181,8 +2183,8 @@
|
| Handle<String> update_script_break_points_symbol =
|
| Factory::LookupAsciiSymbol("UpdateScriptBreakPoints");
|
| Handle<Object> update_script_break_points =
|
| - Handle<Object>(Debug::debug_context()->global()->GetProperty(
|
| - *update_script_break_points_symbol));
|
| + Handle<Object>(Debug::debug_context()->global()->
|
| + GetPropertyNoExceptionThrown(*update_script_break_points_symbol));
|
| if (!update_script_break_points->IsJSFunction()) {
|
| return;
|
| }
|
|
|