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

Issue 106743008: When we hit a breakpoint in the debugger, show the source of current line. (Closed)

Created:
7 years ago by turnidge
Modified:
7 years ago
Reviewers:
Bob Nystrom, hausner
CC:
reviews_dartlang.org
Visibility:
Public.

Description

When we hit a breakpoint in the debugger, show the source of current line. - We keep a cache of source & line info in the TargetScript class. - We need to use line source more broadly, but ddbg needs to be "futurized" first. Added an uncaught exception handler to the root zone to try to gracefully close the debugger. R=hausner@google.com Committed: https://code.google.com/p/dart/source/detail?r=30953

Patch Set 1 #

Patch Set 2 : #

Total comments: 6

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+131 lines, -21 lines) Patch
M tools/ddbg.dart View 1 2 3 4 5 14 chunks +131 lines, -21 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
turnidge
7 years ago (2013-12-05 22:56:38 UTC) #1
turnidge
Sample output: ------------------------- random:dart turnidge$ xcodebuild/DebugIA32/dart tools/ddbg.dart --checked --package-root=xcodebuild/DebugIA32/packages/ ~/dart2/dummy/bin/dummy.dart > run Started process 16256 ...
7 years ago (2013-12-05 23:00:01 UTC) #2
hausner
LGTM with musings. https://codereview.chromium.org/106743008/diff/20001/tools/ddbg.dart File tools/ddbg.dart (right): https://codereview.chromium.org/106743008/diff/20001/tools/ddbg.dart#newcode986 tools/ddbg.dart:986: return Future.wait([ Your comments helped a ...
7 years ago (2013-12-05 23:57:53 UTC) #3
Bob Nystrom
https://codereview.chromium.org/106743008/diff/20001/tools/ddbg.dart File tools/ddbg.dart (right): https://codereview.chromium.org/106743008/diff/20001/tools/ddbg.dart#newcode986 tools/ddbg.dart:986: return Future.wait([ Drive-by! > OTOH, I'm still trying to ...
7 years ago (2013-12-06 00:08:09 UTC) #4
turnidge
Thanks for the review, guys. Bob, thanks for the style tips -- picking it up ...
7 years ago (2013-12-06 17:19:43 UTC) #5
turnidge
*through* -> *threw*. There is some deep part of my brain that types sonically. On ...
7 years ago (2013-12-06 17:20:47 UTC) #6
siva
> The indentation you're using here doesn't follow the style guide and is probably > ...
7 years ago (2013-12-06 17:23:46 UTC) #7
turnidge
7 years ago (2013-12-06 17:28:21 UTC) #8
Message was sent while issue was closed.
Committed patchset #6 manually as r30953 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698