| Index: tools/ddbg.dart
|
| ===================================================================
|
| --- tools/ddbg.dart (revision 30163)
|
| +++ tools/ddbg.dart (working copy)
|
| @@ -20,7 +20,7 @@
|
| int isolate_id = -1;
|
|
|
| final verbose = false;
|
| -final printMessages = false;
|
| +final printMessages = true;
|
|
|
| // The location of the last paused event.
|
| Map pausedLocation = null;
|
| @@ -248,6 +248,14 @@
|
| return "(list, id $id, len $len) $text";
|
| } else if (kind == "object") {
|
| return "(obj, id $id) $text";
|
| + } else if (kind == "function") {
|
| + var location = value['location'] != null
|
| + ? ", file '${value['location']['url']}'"
|
| + ", token pos ${value['location']['tokenOffset']}"
|
| + : "";
|
| + var name = value['name'];
|
| + var signature = value['signature'];
|
| + return "(closure ${name}${signature} $location)";
|
| } else {
|
| return "$text";
|
| }
|
|
|