OLD | NEW |
1 // Copyright 2006-2008 the V8 project authors. All rights reserved. | 1 // Copyright 2006-2008 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 344 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
355 static Handle<Object> MakeBreakEvent(Handle<Object> exec_state, | 355 static Handle<Object> MakeBreakEvent(Handle<Object> exec_state, |
356 Handle<Object> break_points_hit, | 356 Handle<Object> break_points_hit, |
357 bool* caught_exception); | 357 bool* caught_exception); |
358 static Handle<Object> MakeExceptionEvent(Handle<Object> exec_state, | 358 static Handle<Object> MakeExceptionEvent(Handle<Object> exec_state, |
359 Handle<Object> exception, | 359 Handle<Object> exception, |
360 bool uncaught, | 360 bool uncaught, |
361 bool* caught_exception); | 361 bool* caught_exception); |
362 static Handle<Object> MakeNewFunctionEvent(Handle<Object> func, | 362 static Handle<Object> MakeNewFunctionEvent(Handle<Object> func, |
363 bool* caught_exception); | 363 bool* caught_exception); |
364 static Handle<Object> MakeCompileEvent(Handle<Script> script, | 364 static Handle<Object> MakeCompileEvent(Handle<Script> script, |
365 Handle<Object> script_function, | 365 bool before, |
366 bool* caught_exception); | 366 bool* caught_exception); |
367 static void OnDebugBreak(Handle<Object> break_points_hit); | 367 static void OnDebugBreak(Handle<Object> break_points_hit); |
368 static void OnException(Handle<Object> exception, bool uncaught); | 368 static void OnException(Handle<Object> exception, bool uncaught); |
369 static void OnBeforeCompile(Handle<Script> script); | 369 static void OnBeforeCompile(Handle<Script> script); |
370 static void OnAfterCompile(Handle<Script> script, | 370 static void OnAfterCompile(Handle<Script> script, |
371 Handle<JSFunction> fun); | 371 Handle<JSFunction> fun); |
372 static void OnNewFunction(Handle<JSFunction> fun); | 372 static void OnNewFunction(Handle<JSFunction> fun); |
373 static void ProcessDebugEvent(v8::DebugEvent event, | 373 static void ProcessDebugEvent(v8::DebugEvent event, |
374 Handle<Object> event_data); | 374 Handle<Object> event_data); |
375 static void SetEventListener(Handle<Object> callback, Handle<Object> data); | 375 static void SetEventListener(Handle<Object> callback, Handle<Object> data); |
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
597 } | 597 } |
598 private: | 598 private: |
599 Debug::AddressId id_; | 599 Debug::AddressId id_; |
600 int reg_; | 600 int reg_; |
601 }; | 601 }; |
602 | 602 |
603 | 603 |
604 } } // namespace v8::internal | 604 } } // namespace v8::internal |
605 | 605 |
606 #endif // V8_V8_DEBUG_H_ | 606 #endif // V8_V8_DEBUG_H_ |
OLD | NEW |