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

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

Issue 605833002: Show errors reported for invalid setBreakpoint calls. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Try both URLs. Write errors to the console. Created 6 years, 2 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 378 matching lines...) Expand 10 before | Expand all | Expand 10 after
389 public void suspend() throws DebugException { 389 public void suspend() throws DebugException {
390 390
391 } 391 }
392 392
393 @Override 393 @Override
394 public void terminate() throws DebugException { 394 public void terminate() throws DebugException {
395 process.terminate(); 395 process.terminate();
396 } 396 }
397 397
398 public void writeToStdout(String message) { 398 public void writeToStdout(String message) {
399 //TODO(keertip): implement printing messages to console 399 fireStreamAppended(message + "\n");
400 // process.getStreamMonitor().messageAdded(message);
401 } 400 }
402 401
403 protected ServerDebugThread findThread(VmIsolate isolate) { 402 protected ServerDebugThread findThread(VmIsolate isolate) {
404 for (ServerDebugThread thread : threads) { 403 for (ServerDebugThread thread : threads) {
405 if (thread.getIsolate().getId() == isolate.getId()) { 404 if (thread.getIsolate().getId() == isolate.getId()) {
406 return thread; 405 return thread;
407 } 406 }
408 } 407 }
409 408
410 return null; 409 return null;
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
549 } 548 }
550 549
551 private void sleep(int millis) { 550 private void sleep(int millis) {
552 try { 551 try {
553 Thread.sleep(millis); 552 Thread.sleep(millis);
554 } catch (Exception exception) { 553 } catch (Exception exception) {
555 } 554 }
556 } 555 }
557 556
558 } 557 }
OLDNEW
« no previous file with comments | « editor/tools/plugins/com.google.dart.tools.debug.core/src/com/google/dart/tools/debug/core/server/ServerBreakpointManager.java ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698