Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(35)

Side by Side Diff: dart/editor/tools/plugins/com.google.dart.tools.debug.core/src/com/google/dart/tools/debug/core/dartium/DartiumDebugStackFrame.java

Issue 322303002: Version 1.5.0-dev.4.6 (Closed) Base URL: http://dart.googlecode.com/svn/trunk/
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 439 matching lines...) Expand 10 before | Expand all | Expand 10 after
450 450
451 return classValue; 451 return classValue;
452 } 452 }
453 453
454 protected IValue getGlobalsScope() throws DebugException { 454 protected IValue getGlobalsScope() throws DebugException {
455 if (globalScopeValue != null) { 455 if (globalScopeValue != null) {
456 return globalScopeValue; 456 return globalScopeValue;
457 } 457 }
458 458
459 for (WebkitScope scope : webkitFrame.getScopeChain()) { 459 for (WebkitScope scope : webkitFrame.getScopeChain()) {
460 if (scope.isGlobal()) { 460 if (scope.isLibraries()) {
461 globalScopeValue = new DartiumDebugValue(getTarget(), null, scope.getObj ect()); 461 globalScopeValue = new DartiumDebugValue(getTarget(), null, scope.getObj ect());
462 break; 462 break;
463 } 463 }
464 } 464 }
465 465
466 return globalScopeValue; 466 return globalScopeValue;
467 } 467 }
468 468
469 protected String getMappedLocationPath() { 469 protected String getMappedLocationPath() {
470 SourceMapManager.SourceLocation targetLocation = getMappedLocation(); 470 SourceMapManager.SourceLocation targetLocation = getMappedLocation();
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
558 return sourceMapManager.getMappingFor( 558 return sourceMapManager.getMappingFor(
559 file, 559 file,
560 location.getLineNumber(), 560 location.getLineNumber(),
561 location.getColumnNumber()); 561 location.getColumnNumber());
562 } else { 562 } else {
563 return null; 563 return null;
564 } 564 }
565 } 565 }
566 566
567 } 567 }
OLDNEW
« no previous file with comments | « no previous file | dart/editor/tools/plugins/com.google.dart.tools.debug.core/src/com/google/dart/tools/debug/core/server/ServerDebugTarget.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698