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 328 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
339 bool* caught_exception); | 339 bool* caught_exception); |
340 static Handle<Object> MakeExceptionEvent(Handle<Object> exec_state, | 340 static Handle<Object> MakeExceptionEvent(Handle<Object> exec_state, |
341 Handle<Object> exception, | 341 Handle<Object> exception, |
342 bool uncaught, | 342 bool uncaught, |
343 bool* caught_exception); | 343 bool* caught_exception); |
344 static Handle<Object> MakeNewFunctionEvent(Handle<Object> func, | 344 static Handle<Object> MakeNewFunctionEvent(Handle<Object> func, |
345 bool* caught_exception); | 345 bool* caught_exception); |
346 static Handle<Object> MakeCompileEvent(Handle<Script> script, | 346 static Handle<Object> MakeCompileEvent(Handle<Script> script, |
347 Handle<Object> script_function, | 347 Handle<Object> script_function, |
348 bool* caught_exception); | 348 bool* caught_exception); |
349 static Handle<String> ProcessRequest(Handle<Object> exec_state, | |
350 Handle<Object> request, | |
351 bool stopped); | |
352 static void OnDebugBreak(Handle<Object> break_points_hit); | 349 static void OnDebugBreak(Handle<Object> break_points_hit); |
353 static void OnException(Handle<Object> exception, bool uncaught); | 350 static void OnException(Handle<Object> exception, bool uncaught); |
354 static void OnBeforeCompile(Handle<Script> script); | 351 static void OnBeforeCompile(Handle<Script> script); |
355 static void OnAfterCompile(Handle<Script> script, | 352 static void OnAfterCompile(Handle<Script> script, |
356 Handle<JSFunction> fun); | 353 Handle<JSFunction> fun); |
357 static void OnNewFunction(Handle<JSFunction> fun); | 354 static void OnNewFunction(Handle<JSFunction> fun); |
358 static void ProcessDebugEvent(v8::DebugEvent event, | 355 static void ProcessDebugEvent(v8::DebugEvent event, |
359 Handle<Object> event_data); | 356 Handle<Object> event_data); |
360 static void SetMessageHandler(v8::DebugMessageHandler handler, void* data); | 357 static void SetMessageHandler(v8::DebugMessageHandler handler, void* data); |
361 static void SendMessage(Vector<uint16_t> message); | 358 static void SendMessage(Vector<uint16_t> message); |
(...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
573 } | 570 } |
574 private: | 571 private: |
575 Debug::AddressId id_; | 572 Debug::AddressId id_; |
576 int reg_; | 573 int reg_; |
577 }; | 574 }; |
578 | 575 |
579 | 576 |
580 } } // namespace v8::internal | 577 } } // namespace v8::internal |
581 | 578 |
582 #endif // V8_V8_DEBUG_H_ | 579 #endif // V8_V8_DEBUG_H_ |
OLD | NEW |