| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2010 Apple Inc. All rights reserved. | 2 * Copyright (C) 2010 Apple Inc. All rights reserved. |
| 3 * Copyright (C) 2010-2011 Google Inc. All rights reserved. | 3 * Copyright (C) 2010-2011 Google Inc. All rights reserved. |
| 4 * | 4 * |
| 5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
| 6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
| 7 * are met: | 7 * are met: |
| 8 * | 8 * |
| 9 * 1. Redistributions of source code must retain the above copyright | 9 * 1. Redistributions of source code must retain the above copyright |
| 10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 68 static const char condition[] = "condition"; | 68 static const char condition[] = "condition"; |
| 69 static const char isAnti[] = "isAnti"; | 69 static const char isAnti[] = "isAnti"; |
| 70 static const char skipStackPattern[] = "skipStackPattern"; | 70 static const char skipStackPattern[] = "skipStackPattern"; |
| 71 static const char skipAllPauses[] = "skipAllPauses"; | 71 static const char skipAllPauses[] = "skipAllPauses"; |
| 72 static const char skipAllPausesExpiresOnReload[] = "skipAllPausesExpiresOnReload
"; | 72 static const char skipAllPausesExpiresOnReload[] = "skipAllPausesExpiresOnReload
"; |
| 73 | 73 |
| 74 }; | 74 }; |
| 75 | 75 |
| 76 static const int numberOfStepsBeforeStepOut = 10; | 76 static const int numberOfStepsBeforeStepOut = 10; |
| 77 | 77 |
| 78 const char* InspectorDebuggerAgent::backtraceObjectGroup = "backtrace"; | 78 const char InspectorDebuggerAgent::backtraceObjectGroup[] = "backtrace"; |
| 79 | 79 |
| 80 static String breakpointIdSuffix(InspectorDebuggerAgent::BreakpointSource source
) | 80 static String breakpointIdSuffix(InspectorDebuggerAgent::BreakpointSource source
) |
| 81 { | 81 { |
| 82 switch (source) { | 82 switch (source) { |
| 83 case InspectorDebuggerAgent::UserBreakpointSource: | 83 case InspectorDebuggerAgent::UserBreakpointSource: |
| 84 break; | 84 break; |
| 85 case InspectorDebuggerAgent::DebugCommandBreakpointSource: | 85 case InspectorDebuggerAgent::DebugCommandBreakpointSource: |
| 86 return ":debug"; | 86 return ":debug"; |
| 87 case InspectorDebuggerAgent::MonitorCommandBreakpointSource: | 87 case InspectorDebuggerAgent::MonitorCommandBreakpointSource: |
| 88 return ":monitor"; | 88 return ":monitor"; |
| (...skipping 984 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1073 void InspectorDebuggerAgent::reset() | 1073 void InspectorDebuggerAgent::reset() |
| 1074 { | 1074 { |
| 1075 m_scripts.clear(); | 1075 m_scripts.clear(); |
| 1076 m_breakpointIdToDebugServerBreakpointIds.clear(); | 1076 m_breakpointIdToDebugServerBreakpointIds.clear(); |
| 1077 if (m_frontend) | 1077 if (m_frontend) |
| 1078 m_frontend->globalObjectCleared(); | 1078 m_frontend->globalObjectCleared(); |
| 1079 } | 1079 } |
| 1080 | 1080 |
| 1081 } // namespace WebCore | 1081 } // namespace WebCore |
| 1082 | 1082 |
| OLD | NEW |