Xcode: how to debugging a dynamic link library
Hi:
I am working with an scientific analysis package called "root". The way it work is that one creates his own analysis packages as dynamic link libraries (I guess Apple calls them bundles) which are loaded at run time to the root-executable.
Using Xcode, how can I start the "root"-executable (which I got as binary only), load the dynamic link library (made with excode) and debug it ?
In linux, I would just start gdb "root.exe" and go from there.
I understand the gdb is the underlying debugger in Xcode, isn't it ? So I guess my problem is how do I start a "foreign" program in Xcode ?
Thanks for help.
Cheers,
Frank
I am working with an scientific analysis package called "root". The way it work is that one creates his own analysis packages as dynamic link libraries (I guess Apple calls them bundles) which are loaded at run time to the root-executable.
Using Xcode, how can I start the "root"-executable (which I got as binary only), load the dynamic link library (made with excode) and debug it ?
In linux, I would just start gdb "root.exe" and go from there.
I understand the gdb is the underlying debugger in Xcode, isn't it ? So I guess my problem is how do I start a "foreign" program in Xcode ?
Thanks for help.
Cheers,
Frank