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

Issue 102073008: Allow multiple NaCl modules to be debugged. (Closed)

Created:
7 years ago by bradn
Modified:
6 years, 7 months ago
CC:
chromium-reviews, tfarina, jam, joi+watch-content_chromium.org, darin-cc_chromium.org, arv+watch_chromium.org, yoshiki+watch_chromium.org
Visibility:
Public.

Description

Allow multiple NaCl modules to be debugged. Assigning the first NaCl module to load to port 4014, allowing other to be dynamic, using a code path currently used for testing. Expose the port used by each module in the Task Manager UI to make it available to users debugging NaCl modules. Follow on changes will add extension api fields to make debuggable modules discoverable to a web based debugger. NOTE: The debug stub port on windows is opened at a different layer (inside nacl, only availabled with --disable-sandbox). This will be exposed in a follow on change. Reviewers: yoshiki@chromium.org (for task_manager) pkasting@chromium.org (for browser/ui) brettw@chromium.org (for content) noelallen@chromium.org (for nacl) BUG=328714 TEST=trybots R=yoshiki@chromium.org,pkasting@chromium.org,brettw@chromium.org,noelallen@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=244041

Patch Set 1 #

Patch Set 2 : actually use 4014 #

Patch Set 3 : fix mac #

Total comments: 2

Patch Set 4 : review fixes #

Total comments: 4

Patch Set 5 : fix #

Patch Set 6 : merge #

Patch Set 7 : use base explicitly #

Patch Set 8 : merge #

Unified diffs Side-by-side diffs Delta from patch set Stats (+120 lines, -14 lines) Patch
chrome/app/generated_resources.grd View 1 2 3 4 5 6 7 2 chunks +6 lines, -0 lines 0 comments Download
chrome/browser/task_manager/child_process_resource_provider.cc View 1 2 3 4 5 5 chunks +13 lines, -3 lines 0 comments Download
chrome/browser/task_manager/resource_provider.h View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
chrome/browser/task_manager/resource_provider.cc View 1 chunk +4 lines, -0 lines 0 comments Download
chrome/browser/task_manager/task_manager.h View 1 2 3 4 5 3 chunks +5 lines, -0 lines 0 comments Download
chrome/browser/task_manager/task_manager.cc View 1 2 3 4 5 6 6 chunks +29 lines, -1 line 0 comments Download
chrome/browser/ui/cocoa/task_manager_mac.mm View 1 2 3 4 2 chunks +4 lines, -0 lines 0 comments Download
chrome/browser/ui/gtk/task_manager_gtk.h View 1 chunk +7 lines, -0 lines 0 comments Download
chrome/browser/ui/gtk/task_manager_gtk.cc View 1 2 3 4 5 9 chunks +18 lines, -1 line 0 comments Download
chrome/browser/ui/views/task_manager_view.cc View 1 2 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download
components/nacl/browser/nacl_process_host.cc View 1 2 3 4 5 1 chunk +15 lines, -8 lines 0 comments Download
content/browser/browser_child_process_host_impl.h View 1 chunk +1 line, -0 lines 0 comments Download
content/browser/browser_child_process_host_impl.cc View 1 chunk +5 lines, -0 lines 0 comments Download
content/public/browser/browser_child_process_host.h View 1 chunk +3 lines, -0 lines 0 comments Download
content/public/browser/child_process_data.h View 1 chunk +4 lines, -1 line 0 comments Download

Messages

Total messages: 17 (0 generated)
bradn
7 years ago (2013-12-14 22:58:29 UTC) #1
Peter Kasting
LGTM https://codereview.chromium.org/102073008/diff/40001/chrome/browser/ui/cocoa/task_manager_mac.mm File chrome/browser/ui/cocoa/task_manager_mac.mm (right): https://codereview.chromium.org/102073008/diff/40001/chrome/browser/ui/cocoa/task_manager_mac.mm#newcode66 chrome/browser/ui/cocoa/task_manager_mac.mm:66: arraysize("100") * kCharWidth, -1 }, Shouldn't this be ...
7 years ago (2013-12-17 23:12:29 UTC) #2
bradn
PTAL Ping other reviews? https://codereview.chromium.org/102073008/diff/40001/chrome/browser/ui/cocoa/task_manager_mac.mm File chrome/browser/ui/cocoa/task_manager_mac.mm (right): https://codereview.chromium.org/102073008/diff/40001/chrome/browser/ui/cocoa/task_manager_mac.mm#newcode66 chrome/browser/ui/cocoa/task_manager_mac.mm:66: arraysize("100") * kCharWidth, -1 }, ...
7 years ago (2013-12-20 00:35:37 UTC) #3
noelallen_use_chromium
LGTM post changes. https://codereview.chromium.org/102073008/diff/60001/components/nacl/browser/nacl_process_host.cc File components/nacl/browser/nacl_process_host.cc (right): https://codereview.chromium.org/102073008/diff/60001/components/nacl/browser/nacl_process_host.cc#newcode673 components/nacl/browser/nacl_process_host.cc:673: // We allocate currently unused TCP ...
7 years ago (2013-12-20 01:00:27 UTC) #4
bradn
PTAL other OWNERS https://codereview.chromium.org/102073008/diff/60001/components/nacl/browser/nacl_process_host.cc File components/nacl/browser/nacl_process_host.cc (right): https://codereview.chromium.org/102073008/diff/60001/components/nacl/browser/nacl_process_host.cc#newcode673 components/nacl/browser/nacl_process_host.cc:673: // We allocate currently unused TCP ...
7 years ago (2013-12-20 01:25:34 UTC) #5
bradn
Ping OWNERS: yoshiki@chromium.org (for task_manager) brettw@chromium.org (for content)
6 years, 11 months ago (2014-01-07 19:43:37 UTC) #6
brettw
content lgtm
6 years, 11 months ago (2014-01-08 06:06:10 UTC) #7
bradn
ping yoshiki
6 years, 11 months ago (2014-01-08 18:36:23 UTC) #8
yoshiki
lgtm
6 years, 11 months ago (2014-01-09 02:18:26 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bradnelson@google.com/102073008/550001
6 years, 11 months ago (2014-01-09 21:34:15 UTC) #10
commit-bot: I haz the power
Retried try job too often on chromium_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=chromium_presubmit&number=44161
6 years, 11 months ago (2014-01-09 21:58:03 UTC) #11
noelallen1
lgtm
6 years, 11 months ago (2014-01-09 22:19:01 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bradnelson@google.com/102073008/550001
6 years, 11 months ago (2014-01-09 22:21:07 UTC) #13
commit-bot: I haz the power
Change committed as 244041
6 years, 11 months ago (2014-01-10 02:13:15 UTC) #14
jam
i just saw this cl. content doesn't know anything about nacl, so this shouldn't have ...
6 years, 7 months ago (2014-05-15 03:50:12 UTC) #15
chromium-reviews
Stil used, looking into routing round. I may swing by to ask advice. -BradN On ...
6 years, 7 months ago (2014-05-15 17:17:09 UTC) #16
bradn
6 years, 7 months ago (2014-05-15 23:14:33 UTC) #17
Message was sent while issue was closed.
Addressing concerns about content in:
https://codereview.chromium.org/286993006/

Powered by Google App Engine
This is Rietveld 408576698