| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2012, the Dart project authors. | 2 * Copyright (c) 2012, the Dart project authors. |
| 3 * | 3 * |
| 4 * Licensed under the Eclipse Public License v1.0 (the "License"); you may not u
se this file except | 4 * Licensed under the Eclipse Public License v1.0 (the "License"); you may not u
se this file except |
| 5 * in compliance with the License. You may obtain a copy of the License at | 5 * in compliance with the License. You may obtain a copy of the License at |
| 6 * | 6 * |
| 7 * http://www.eclipse.org/legal/epl-v10.html | 7 * http://www.eclipse.org/legal/epl-v10.html |
| 8 * | 8 * |
| 9 * Unless required by applicable law or agreed to in writing, software distribut
ed under the License | 9 * Unless required by applicable law or agreed to in writing, software distribut
ed under the License |
| 10 * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY K
IND, either express | 10 * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY K
IND, either express |
| (...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 89 } | 89 } |
| 90 | 90 |
| 91 /** | 91 /** |
| 92 * Name of the Dart function called on this call frame. | 92 * Name of the Dart function called on this call frame. |
| 93 */ | 93 */ |
| 94 public String getFunctionName() { | 94 public String getFunctionName() { |
| 95 return functionName; | 95 return functionName; |
| 96 } | 96 } |
| 97 | 97 |
| 98 /** | 98 /** |
| 99 * Return the 'isolate' scope - the list of libraries for the current isolate. |
| 100 */ |
| 101 public WebkitRemoteObject getIsolateScope() { |
| 102 for (WebkitScope scope : getScopeChain()) { |
| 103 if (scope.isIsolate()) { |
| 104 return scope.getObject(); |
| 105 } |
| 106 } |
| 107 |
| 108 return null; |
| 109 } |
| 110 |
| 111 /** |
| 99 * Return the 'libraries' scope - the list of libraries for the current isolat
e. | 112 * Return the 'libraries' scope - the list of libraries for the current isolat
e. |
| 100 */ | 113 */ |
| 101 public WebkitRemoteObject getLibrariesScope() { | 114 public WebkitRemoteObject getLibrariesScope() { |
| 102 for (WebkitScope scope : getScopeChain()) { | 115 for (WebkitScope scope : getScopeChain()) { |
| 103 if (scope.isLibraries()) { | 116 if (scope.isLibraries()) { |
| 104 return scope.getObject(); | 117 return scope.getObject(); |
| 105 } | 118 } |
| 106 } | 119 } |
| 107 | 120 |
| 108 return null; | 121 return null; |
| (...skipping 29 matching lines...) Expand all Loading... |
| 138 public boolean isStaticMethod() { | 151 public boolean isStaticMethod() { |
| 139 return thisObject == null || thisObject.getObjectId() == null; | 152 return thisObject == null || thisObject.getObjectId() == null; |
| 140 } | 153 } |
| 141 | 154 |
| 142 @Override | 155 @Override |
| 143 public String toString() { | 156 public String toString() { |
| 144 return "[" + callFrameId + "," + functionName + "]"; | 157 return "[" + callFrameId + "," + functionName + "]"; |
| 145 } | 158 } |
| 146 | 159 |
| 147 } | 160 } |
| OLD | NEW |