Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | "Port" StackTrace to Mac | mark@chromium.org | 2009-01-16 | 1 | -26/+2 |
| | | | | | | Review URL: http://codereview.chromium.org/18173 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8229 0039d316-1c4b-4281-b951-d872f2087c98 | ||||
* | Mac build fix | agl@chromium.org | 2009-01-16 | 1 | -1/+1 |
| | | | | | | | Review URL: http://codereview.chromium.org/18332 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8222 0039d316-1c4b-4281-b951-d872f2087c98 | ||||
* | Add StackTrace debugging utility class. | agl@chromium.org | 2009-01-16 | 1 | -0/+41 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For the moment, it only works on Linux, although it should be pretty easy to get it working on Mac with __builtin_return_address and __builtin_frame_address. It will mostly fail to resolve functions. Use this wrapper script: import os import sys import subprocess import re address = re.compile('.*\[(0x[0-9a-fA-F]{4,8})\].*') if __name__ == '__main__': p = subprocess.Popen(sys.argv[1:], stderr = subprocess.STDOUT, stdout = subprocess.PIPE) addr2line = subprocess.Popen(['addr2line', '-e', sys.argv[1], '-f', '-C', '-s'], stdout = subprocess.PIPE, stdin = subprocess.PIPE) for line in p.stdout.readlines(): m = address.match(line); if m is not None: addr2line.stdin.write(m.groups()[0] + '\n') function = addr2line.stdout.readline()[:-1] location = addr2line.stdout.readline()[:-1] sys.stdout.write('%s (%s)\n' % (function, location)) else: sys.stdout.write(line) Review URL: http://codereview.chromium.org/18303 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8218 0039d316-1c4b-4281-b951-d872f2087c98 | ||||
* | Add Mac BeingDebugged implementation | mark@chromium.org | 2008-10-08 | 1 | -7/+33 |
| | | | | | | Review URL: http://codereview.chromium.org/6582 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3009 0039d316-1c4b-4281-b951-d872f2087c98 | ||||
* | Move NOTIMPLEMENTED() macro from "base/notimplemented.h" into "base/logging.h". | ericroman@google.com | 2008-08-25 | 1 | -1/+1 |
| | | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1300 0039d316-1c4b-4281-b951-d872f2087c98 | ||||
* | Use a more compact license header in source files. | license.bot | 2008-08-24 | 1 | -28/+4 |
| | | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1287 0039d316-1c4b-4281-b951-d872f2087c98 | ||||
* | Make debug_util cross platform, adding BeingDebugged and BreakDebugger. Linux | deanm@google.com | 2008-08-13 | 1 | -0/+90 |
supported added, and Mac OSX left as a todo for the mac team. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@785 0039d316-1c4b-4281-b951-d872f2087c98 |