Commit Graph

23 Commits

Author SHA1 Message Date
hausner@google.com df5c543b6f Add library id, location info to breakpointResolved event
Review URL: https://codereview.chromium.org//13940008

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21592 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-16 23:24:21 +00:00
ajohnsen@google.com 6b1706285b Fix standalone tests to pass dartc.
BUG=

Review URL: https://codereview.chromium.org//14268002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21514 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-15 21:05:33 +00:00
floitsch@google.com 5431a5af54 Remove AsyncError with Expando.
Review URL: https://codereview.chromium.org//14251006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21498 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-15 18:58:32 +00:00
hausner@google.com 15720724d9 Add more error detection to debugger test
Detect when malformed messages leave over garbage, e.g. when there
are is an extra closing brace.
Review URL: https://codereview.chromium.org//13741025

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21119 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-08 22:24:00 +00:00
floitsch@google.com 343fa26d65 Remove deprecated Expect from the libraries.
Review URL: https://codereview.chromium.org//13724021

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21079 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-08 16:07:34 +00:00
floitsch@google.com a813a57b5a Remove unnecessary expect-package line.
BUG= http://dartbug.com/9703

Review URL: https://codereview.chromium.org//13454030

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21004 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-05 22:35:54 +00:00
tball@google.com b3cae06ace Synced basic_debugger_test start on new "debugger initialized" message.
Review URL: https://codereview.chromium.org//13597004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20997 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-05 20:55:10 +00:00
floitsch@google.com 8fd6d0aafd Remove Expect from core library.
Committed: https://code.google.com/p/dart/source/detail?r=19755
Reverted: http://code.google.com/p/dart/source/detail?r=19756

Review URL: https://codereview.chromium.org//12212016

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20996 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-05 19:43:16 +00:00
hausner@google.com b3ccd9f1ea Make basic_debugger_test less flaky
There is a race condition between debugger and debugee. Detect if the debugger is attempting to connect to the debugee to soon and simply skip running the debug test
rather than failing the test. 
Review URL: https://codereview.chromium.org//13555003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20894 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-03 21:32:55 +00:00
hausner@google.com 8f1ec650be Update debugger test
Change test and test framework so it no longer expects the paused
event to contain a stack trace. This is in preparation to remove
the stack trace in paused events.
Review URL: https://codereview.chromium.org//13474011

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20873 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-03 16:30:47 +00:00
tball@google.com 439636fc4e Use random debug port in basic_debugger_test.
Issue 8232
Review URL: https://codereview.chromium.org//12796012

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20634 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-28 19:02:11 +00:00
kustermann@google.com 2b452bfb9f Drain stdin in basic_debuger_test and did status file update
Review URL: https://codereview.chromium.org//12457037

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20523 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-26 16:54:05 +00:00
kustermann@google.com 816c75ac3b Fixed the first issue in debug_lib.dart
Review URL: https://codereview.chromium.org//12851019

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20520 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-26 16:01:11 +00:00
lrn@google.com 53f877edb7 Rename String.concat to operator+.
Review URL: https://codereview.chromium.org//12441003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19788 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-11 12:59:17 +00:00
floitsch@google.com 5dc8107c53 Revert "Remove Expect from core library."
This reverts commit 19755.

Review URL: https://codereview.chromium.org//12743005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19756 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-09 03:19:07 +00:00
floitsch@google.com 12dbd2fd70 Remove Expect from core library.
Review URL: https://codereview.chromium.org//12212016

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19755 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-09 02:40:37 +00:00
sgjesse@google.com b6096848b1 Make IOSink implement StringSink
Besides adding the StringSink methods I also added writeBytes and
deprecated both add and addString.

To handle the encoding of strings the IOSike has an encoding
property. This property is mutable in situation when it makes sense to
change encoding of what is written. The exception here is for HTTP
where the encoding is determined from the header and the encoding
cannot be changed.

R=ajohnsen@google.com, ager@google.com, nweiz@google.com

BUG=

Review URL: https://codereview.chromium.org//12504006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19676 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-08 10:06:28 +00:00
sgjesse@google.com 488b016a2f Merge IO v2 branch to bleeding edge
R=ager@google.com, ajohnsen@google.com, whesse@google.com

BUG=

Review URL: https://codereview.chromium.org//12316036

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18820 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-21 11:58:11 +00:00
ager@google.com 33be759e00 Fix debugger test.
1. Fix JSON import.

2. Add exit code check to catch such errors in the future.

3. Only kill the debugee on errors. If there are no errors
   it will die on its own with exit code 0. If we kill it
   explicitly it can get killed (and give exit code != 0)
   before it has the chance to exit on its own.

R=sgjesse@google.com,tball@google.com,hausner@google.com
BUG=

Review URL: https://codereview.chromium.org//12086080

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17889 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-31 09:09:05 +00:00
ager@google.com a1a92ba40e Revert "Fix debugger test that broke with the change to the json library."
Unfortunately, the buildbots did not like that. Reverting back to the
broken test.

R=whesse@google.com,hausner@google.com
BUG=

Review URL: https://codereview.chromium.org//12091067

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17849 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-30 15:24:46 +00:00
ager@google.com b8cc58013b Fix debugger test that broke with the change to the json library.
Added checking of the debugger subprocess exit code that would
have caught this.

R=whesse@google.com,hausner@google.com
BUG=

Review URL: https://codereview.chromium.org//12100003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17846 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-30 14:23:01 +00:00
hausner@google.com ec0d716bdd Address Siva's and Mads' review request in debugger test
Review URL: https://codereview.chromium.org//11645025

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16346 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-19 22:05:58 +00:00
hausner@google.com 1e41380676 Add basic standalone debugger test
Tests the wire protocol API to the VM debugger engine. This is a first,
basic test. Additional functionality will be added later to check the
expected value of variables, list libraries, scripts, breakpoints etc.
Review URL: https://codereview.chromium.org//11576053

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16327 260f80e4-7a28-3924-810f-c04153c831b5
2012-12-19 17:08:43 +00:00