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

Issue 12717018: Android: improve native debuggability (Closed)

Created:
7 years, 9 months ago by mostynb%opera.com
Modified:
7 years, 8 months ago
CC:
chromium-reviews, erikwright+watch_chromium.org, sail+watch_chromium.org, Daniel Bratell, lbolstad_opera.com, peterp
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

When starting with --wait-for-debugger command line option, it's ending up in a busy loop waiting for a variable to be changed. Change that busy loop from a macro to a function. It avoids having to step on instruction level to find the right stack frame before the variable is visible.

Patch Set 1 #

Total comments: 2

Patch Set 2 : Undo the GYPI change (to be moved to a new CL) #

Patch Set 3 : keep DEBUG_BREAK as a macro, and use an intermediate DebugBreak function #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -10 lines) Patch
M base/debug/debugger_posix.cc View 1 2 1 chunk +13 lines, -10 lines 1 comment Download

Messages

Total messages: 6 (0 generated)
darin (slow to review)
It feels like the GYPI change is addressing an independent issue. It should probably be ...
7 years, 9 months ago (2013-03-19 22:24:14 UTC) #1
mostynb%opera.com
On 2013/03/19 22:24:14, darin wrote: > It feels like the GYPI change is addressing an ...
7 years, 9 months ago (2013-03-20 04:45:36 UTC) #2
mostynb%opera.com
https://codereview.chromium.org/12717018/diff/1/base/debug/debugger_posix.cc File base/debug/debugger_posix.cc (right): https://codereview.chromium.org/12717018/diff/1/base/debug/debugger_posix.cc#newcode221 base/debug/debugger_posix.cc:221: void DEBUG_BREAK() { On 2013/03/19 22:24:14, darin wrote: > ...
7 years, 9 months ago (2013-03-20 05:32:39 UTC) #3
darin (slow to review)
https://codereview.chromium.org/12717018/diff/4003/base/debug/debugger_posix.cc File base/debug/debugger_posix.cc (right): https://codereview.chromium.org/12717018/diff/4003/base/debug/debugger_posix.cc#newcode221 base/debug/debugger_posix.cc:221: void DebugBreak() { nit: oh, this should probably have ...
7 years, 9 months ago (2013-03-20 06:24:33 UTC) #4
bulach
nit: the patch title could be prefixed with "Android", like: "Android: improve native debuggability" other ...
7 years, 9 months ago (2013-03-20 11:45:06 UTC) #5
mostynb%opera.com
7 years, 8 months ago (2013-04-08 12:16:21 UTC) #6
Resubmitted with my new/official account (and nit fixed):
https://codereview.chromium.org/13597005

Powered by Google App Engine
This is Rietveld 408576698