RE: darwin equivalent of gflags.exe?
RE: darwin equivalent of gflags.exe?
- Subject: RE: darwin equivalent of gflags.exe?
- From: Nathan Herring <email@hidden>
- Date: Fri, 10 Apr 2009 10:27:32 -0700
- Acceptlanguage: en-US
- Thread-topic: darwin equivalent of gflags.exe?
> From: Dave Keck
>
> In researching 'gdb --waitfor' I found this splendid document:
>
> http://developer.apple.com/qa/qa2007/qa1573.html
>
> At the very end, under the 'DTrace' heading, it describes how to do
> what you want... looks nifty.
That's pretty darned sexy.
Now see how to get DTrace to launch Xcode to debug an arbitrary process. Seems like you have to have a project (OK, I can create a new empty project), and a custom executable (doesn't seem to matter what it's pointing at), before you can attach to a process... ugh. It doesn't look like I can use straight AppleScript, but have to do UI scripting. (unless I'm missing the "attach" verb).
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden