site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com Thread-index: Acm5i0AMuSCGsjzrQi6kL/pp5eTiLAAdPagg 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 (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... This email sent to site_archiver@lists.apple.com