| OLD | NEW |
| 1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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 687 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 698 }; | 698 }; |
| 699 | 699 |
| 700 | 700 |
| 701 class Debugger { | 701 class Debugger { |
| 702 public: | 702 public: |
| 703 ~Debugger(); | 703 ~Debugger(); |
| 704 | 704 |
| 705 void DebugRequest(const uint16_t* json_request, int length); | 705 void DebugRequest(const uint16_t* json_request, int length); |
| 706 | 706 |
| 707 Handle<Object> MakeJSObject(Vector<const char> constructor_name, | 707 Handle<Object> MakeJSObject(Vector<const char> constructor_name, |
| 708 int argc, Object*** argv, | 708 int argc, |
| 709 Handle<Object> argv[], |
| 709 bool* caught_exception); | 710 bool* caught_exception); |
| 710 Handle<Object> MakeExecutionState(bool* caught_exception); | 711 Handle<Object> MakeExecutionState(bool* caught_exception); |
| 711 Handle<Object> MakeBreakEvent(Handle<Object> exec_state, | 712 Handle<Object> MakeBreakEvent(Handle<Object> exec_state, |
| 712 Handle<Object> break_points_hit, | 713 Handle<Object> break_points_hit, |
| 713 bool* caught_exception); | 714 bool* caught_exception); |
| 714 Handle<Object> MakeExceptionEvent(Handle<Object> exec_state, | 715 Handle<Object> MakeExceptionEvent(Handle<Object> exec_state, |
| 715 Handle<Object> exception, | 716 Handle<Object> exception, |
| 716 bool uncaught, | 717 bool uncaught, |
| 717 bool* caught_exception); | 718 bool* caught_exception); |
| 718 Handle<Object> MakeNewFunctionEvent(Handle<Object> func, | 719 Handle<Object> MakeNewFunctionEvent(Handle<Object> func, |
| (...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 973 | 974 |
| 974 DISALLOW_COPY_AND_ASSIGN(MessageDispatchHelperThread); | 975 DISALLOW_COPY_AND_ASSIGN(MessageDispatchHelperThread); |
| 975 }; | 976 }; |
| 976 | 977 |
| 977 | 978 |
| 978 } } // namespace v8::internal | 979 } } // namespace v8::internal |
| 979 | 980 |
| 980 #endif // ENABLE_DEBUGGER_SUPPORT | 981 #endif // ENABLE_DEBUGGER_SUPPORT |
| 981 | 982 |
| 982 #endif // V8_DEBUG_H_ | 983 #endif // V8_DEBUG_H_ |
| OLD | NEW |