OT: XCode dubugger?
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 11/09/2008 at 16:14, xxxxxxxx wrote:
User Information:
Cinema 4D Version: R10
Platform: Mac OSX ;
Language(s) : C++ ;---------
Howdy,Has anyone here successfully set up the debugger in XCode so that when your plugin crashes Cinema 4D you can see the lines of your plugin code that caused the crash?
Debugging in Codewarrior was easy, even in MSVC++ it works, but I can't get it working in XCode. :o(
Adios,
Cactus Dan -
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 11/09/2008 at 23:31, xxxxxxxx wrote:
Hi!
Did you set up the project to Debug or Release? Normally the std project is already set up for the debugger. Open the debugger and everything should be shown, which occured an error.
Bye!
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 31/10/2008 at 15:00, xxxxxxxx wrote:
Howdy,
Well, I'm still not getting it working. I must be doing something wrong or I'm not looking in the right place or a setting is wrong or I don't really understand how it works or something.
It's easy to setup in Codewarrior. All I do is set the Host application in the project's settings:
And then when it crashes, I get the debugger window showing me exactly what part of the plugin code caused the crash:
But I just can't understand how to make XCode's debugger work in the same way. I've added the Cinema 4D application as the Executable, but every time I run the debugger, it starts Cinema 4D and then exits with status (10) as you can see from this screen shot:
Can anyone explain how to use this (step by step), so that I understand how it works?
Adios,
Cactus Dan -
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 31/10/2008 at 16:38, xxxxxxxx wrote:
Hi!
What version of Xcode do you use? Currently 3.1.1. is up to date.
Bye.
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 31/10/2008 at 16:52, xxxxxxxx wrote:
Howdy,
Well, I do my initial development in Codewarrior and R9.1 because that is the easiest IDE to use. Once I've worked out the kinks and bugs there, then it's fairly simple to compile the rest of the versions.
I'm using XCode 2.3 on Tiger for compiling in R9.6 and R10 and XCode 3.1 on Leopard for compiling in R11. I'm only compiling in R11 for Mac 64bit, because the other compiles still work. I only use R10 to compile R10 specific libraries to include with the R9.6 compile.
But at the moment I'm trying to debug something that is R10 specific (XCode 2.3 on Tiger), and I can't isolate the cause of a crash unless I can get the debugger working properly. :o(
Adios,
Cactus Dan -
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 03/11/2008 at 03:03, xxxxxxxx wrote:
Sorry but we switched to Leopard and XCode 3. I can't try this here. This is working fine with XCode 3.
cheers,
Matthias -
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 03/11/2008 at 05:35, xxxxxxxx wrote:
Howdy,
Hmmm, I just looked in R10's SDK Documentation and it says:
Q: Which tools do I need to develop Macintosh plugins? A: You need XCode 2.4.1 or higher. No other tools are necessary.Can that be the problem, since I'm using XCode 2.3? :o(
Adios,
Cactus Dan -
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 03/11/2008 at 07:52, xxxxxxxx wrote:
Howdy,
OK, yeah the problem must be using XCode 2.3 with R10 because I did the exact same thing to set up the debugger with R9.6 and XCode 2.3 and it works as expected.
Adios,
Cactus Dan -
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 06/11/2008 at 05:42, xxxxxxxx wrote:
Howdy,
Yep, it's confirmed. I downloaded XCode 2.5 and now I can debug in R10. ;o)
Adios,
Cactus Dan -
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 06/11/2008 at 09:03, xxxxxxxx wrote:
Congrats, Dan!
Seems we all solved some important problems in the last days...See you on MSN
Cheers,
Jack -
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 07/11/2008 at 08:26, xxxxxxxx wrote:
Howdy,
Hehe, yes and hopefully we learned something in the process.
Adios,
Cactus Dan