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 373 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
384 | 384 |
385 private: | 385 private: |
386 static bool CompileDebuggerScript(int index); | 386 static bool CompileDebuggerScript(int index); |
387 static void ClearOneShot(); | 387 static void ClearOneShot(); |
388 static void ActivateStepIn(StackFrame* frame); | 388 static void ActivateStepIn(StackFrame* frame); |
389 static void ClearStepIn(); | 389 static void ClearStepIn(); |
390 static void ActivateStepOut(StackFrame* frame); | 390 static void ActivateStepOut(StackFrame* frame); |
391 static void ClearStepOut(); | 391 static void ClearStepOut(); |
392 static void ClearStepNext(); | 392 static void ClearStepNext(); |
393 // Returns whether the compile succeeded. | 393 // Returns whether the compile succeeded. |
394 static bool EnsureCompiled(Handle<SharedFunctionInfo> shared); | |
395 static void RemoveDebugInfo(Handle<DebugInfo> debug_info); | 394 static void RemoveDebugInfo(Handle<DebugInfo> debug_info); |
396 static void SetAfterBreakTarget(JavaScriptFrame* frame); | 395 static void SetAfterBreakTarget(JavaScriptFrame* frame); |
397 static Handle<Object> CheckBreakPoints(Handle<Object> break_point); | 396 static Handle<Object> CheckBreakPoints(Handle<Object> break_point); |
398 static bool CheckBreakPoint(Handle<Object> break_point_object); | 397 static bool CheckBreakPoint(Handle<Object> break_point_object); |
399 | 398 |
400 // Global handle to debug context where all the debugger JavaScript code is | 399 // Global handle to debug context where all the debugger JavaScript code is |
401 // loaded. | 400 // loaded. |
402 static Handle<Context> debug_context_; | 401 static Handle<Context> debug_context_; |
403 | 402 |
404 // Boolean state indicating whether any break points are set. | 403 // Boolean state indicating whether any break points are set. |
(...skipping 483 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
888 | 887 |
889 DISALLOW_COPY_AND_ASSIGN(MessageDispatchHelperThread); | 888 DISALLOW_COPY_AND_ASSIGN(MessageDispatchHelperThread); |
890 }; | 889 }; |
891 | 890 |
892 | 891 |
893 } } // namespace v8::internal | 892 } } // namespace v8::internal |
894 | 893 |
895 #endif // ENABLE_DEBUGGER_SUPPORT | 894 #endif // ENABLE_DEBUGGER_SUPPORT |
896 | 895 |
897 #endif // V8_DEBUG_H_ | 896 #endif // V8_DEBUG_H_ |
OLD | NEW |