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

Issue 32643005: Add an option to trace the debug protocol to the dart binary: (Closed)

Created:
7 years, 2 months ago by turnidge
Modified:
7 years, 1 month ago
Reviewers:
hausner
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Visibility:
Public.

Description

Add an option to trace the debug protocol to the dart binary: --trace_debug_protocol ------------------------ Sample output: [>>>] Sending message to debug fd 10: { "event": "isolate", "params": { "reason": "created", "id": 7114 }} [>>>] Sending message to debug fd 10: { "event": "paused", "params": { "reason": "breakpoint", "isolateId": 7114,"location": { "url":"file:\/\/\/Users\/turnidge\/dart\/DebuggingExample\/bin\/debuggingexample.dart","libraryId":14,"tokenOffset":193}}} [<<<] Receiving message from debug fd 10: {"id":1,"command":"getStackTrace","params":{"isolateId":7114}} [>>>] Sending message to debug fd 10: { "id": 1, "result": {"callFrames" : [ {"functionName":"main","location": { "url":"file:\/\/\/Users\/turnidge\/dart\/DebuggingExample\/bin\/debuggingexample.dart","libraryId":14,"tokenOffset":193},"locals":[]}]}} Committed: https://code.google.com/p/dart/source/detail?r=29477

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+38 lines, -0 lines) Patch
M runtime/bin/dbg_connection.cc View 1 2 4 chunks +27 lines, -0 lines 0 comments Download
M runtime/bin/main.cc View 1 2 2 chunks +11 lines, -0 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
turnidge
Small change to help me study the debug protocol.
7 years, 2 months ago (2013-10-21 20:13:55 UTC) #1
hausner
I'm not sure this works with other embedders, e.g. Dartium, since there is no definition ...
7 years, 2 months ago (2013-10-21 20:23:03 UTC) #2
turnidge
On 2013/10/21 20:23:03, hausner wrote: > I'm not sure this works with other embedders, e.g. ...
7 years, 1 month ago (2013-10-29 18:52:56 UTC) #3
turnidge
7 years, 1 month ago (2013-10-29 18:53:19 UTC) #4
Message was sent while issue was closed.
Committed patchset #3 manually as r29477 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698