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

Unified Diff: tools/dom/scripts/multiemitter.py

Issue 18326018: Enabling logger information for multiemitter.py and add more debug information (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/dom/scripts/logging.conf ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/dom/scripts/multiemitter.py
diff --git a/tools/dom/scripts/multiemitter.py b/tools/dom/scripts/multiemitter.py
index 3f1e12cda2672ec0c2b69ff105a932c9a5b36bcc..78d552b48e96b2315df8e0c630646131ced13756 100644
--- a/tools/dom/scripts/multiemitter.py
+++ b/tools/dom/scripts/multiemitter.py
@@ -81,6 +81,8 @@ def _WriteFile(path, lines):
if os.path.exists(path):
_logger.info('Removing - %s' % path)
os.remove(path)
+ if os.path.exists(path):
+ _logger.info('Warning: File still exists- %s' % path)
# Write the file.
try:
@@ -99,7 +101,7 @@ def _WriteFile(path, lines):
handle_file = r'E:\handle.exe'
if os.path.exists(handle_file):
_logger.info('Running handle.exe for debugging purposes')
- subprocess.call([handle_file])
+ subprocess.call([handle_file, '-a', r'E:\b\build\slave'])
else:
_logger.info("Couldn't find %s. Not printing open handles."
% handle_file)
« no previous file with comments | « tools/dom/scripts/logging.conf ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698