OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 }; | 72 }; |
73 | 73 |
74 | 74 |
75 // Type of exception break. NOTE: These values are in macros.py as well. | 75 // Type of exception break. NOTE: These values are in macros.py as well. |
76 enum BreakLocatorType { | 76 enum BreakLocatorType { |
77 ALL_BREAK_LOCATIONS = 0, | 77 ALL_BREAK_LOCATIONS = 0, |
78 SOURCE_BREAK_LOCATIONS = 1 | 78 SOURCE_BREAK_LOCATIONS = 1 |
79 }; | 79 }; |
80 | 80 |
81 | 81 |
| 82 enum DebugExtraICState { |
| 83 DEBUG_BREAK, |
| 84 DEBUG_PREPARE_STEP_IN |
| 85 }; |
| 86 |
| 87 |
82 // Class for iterating through the break points in a function and changing | 88 // Class for iterating through the break points in a function and changing |
83 // them. | 89 // them. |
84 class BreakLocationIterator { | 90 class BreakLocationIterator { |
85 public: | 91 public: |
86 explicit BreakLocationIterator(Handle<DebugInfo> debug_info, | 92 explicit BreakLocationIterator(Handle<DebugInfo> debug_info, |
87 BreakLocatorType type); | 93 BreakLocatorType type); |
88 virtual ~BreakLocationIterator(); | 94 virtual ~BreakLocationIterator(); |
89 | 95 |
90 void Next(); | 96 void Next(); |
91 void Next(int count); | 97 void Next(int count); |
(...skipping 949 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1041 | 1047 |
1042 DISALLOW_COPY_AND_ASSIGN(MessageDispatchHelperThread); | 1048 DISALLOW_COPY_AND_ASSIGN(MessageDispatchHelperThread); |
1043 }; | 1049 }; |
1044 | 1050 |
1045 | 1051 |
1046 } } // namespace v8::internal | 1052 } } // namespace v8::internal |
1047 | 1053 |
1048 #endif // ENABLE_DEBUGGER_SUPPORT | 1054 #endif // ENABLE_DEBUGGER_SUPPORT |
1049 | 1055 |
1050 #endif // V8_DEBUG_H_ | 1056 #endif // V8_DEBUG_H_ |
OLD | NEW |