![]() |
Wrong Vector/Matrix values in XCode |
Post Reply ![]() |
Author | |
rsodre ![]() Member ![]() Joined: 2014 Jun 15 Location: Brazil Online Status: Offline Posts: 73 |
![]() ![]() ![]() ![]() Posted: 2018 Mar 28 at 6:42am |
User Information: Cinema 4D Version: R19Platform: Mac ; Mac OSX ; Language(s): --------- Hi,Something that bothers me a lot when debugging C4D on XCode is that it never displays the values of Matrix and Vector objects. They always are displayed as (0,0,0), and I have to unfold it to see the actual values (see attached image). Am I missing something here? Is there any catch to see the actual values? ![]() |
|
![]() |
|
knickknack ![]() Forum Moderator ![]() Joined: 2016 Jul 01 Location: Italy Online Status: Offline Posts: 226 |
![]() ![]() ![]() ![]() |
Hi rsodre, thanks for writing us.
I actually never experienced such issue under R19, Xcode 8.3.3 and Sierra. Could you please share more details about your development environment? Best, Riccardo |
|
MAXON Computer GmbH
SDK Support Team |
|
![]() |
|
rsodre ![]() Member ![]() Joined: 2014 Jun 15 Location: Brazil Online Status: Offline Posts: 73 |
![]() ![]() ![]() ![]() |
Hi Ricardo.
I'm with XCode 9 and on Sierra 10.12.6 I just noticed it only happens on an external build target, compiled using makefiles.
|
|
![]() |
|
knickknack ![]() Forum Moderator ![]() Joined: 2016 Jul 01 Location: Italy Online Status: Offline Posts: 226 |
![]() ![]() ![]() ![]() |
Hi rsodre, thanks for following up.
Could you please confirm that it does NOT happen with the traditional building tool chain? It's pretty likely that your makefile isn't doing any pre-compile steps to extend and enable the debugging of Cinema types in Xcode. Best, Riccardo |
|
MAXON Computer GmbH
SDK Support Team |
|
![]() |
|
rsodre ![]() Member ![]() Joined: 2014 Jun 15 Location: Brazil Online Status: Offline Posts: 73 |
![]() ![]() ![]() ![]() |
Hi Ricardo.
Ok, I did a proper test with both projects. A new clean one, based on the R19 sdk example, and the other that I compile with a makefile. Both produced the exact same result: values are fine for Vector64, but zeroes for Vector32. Code:
What I see with a breakpoint: ![]() |
|
![]() |
|
knickknack ![]() Forum Moderator ![]() Joined: 2016 Jul 01 Location: Italy Online Status: Offline Posts: 226 |
![]() ![]() ![]() ![]() |
Hi rsodre, sorry for getting late here. Could you please share your sample projects?
Best, Riccardo |
|
MAXON Computer GmbH
SDK Support Team |
|
![]() |
Post Reply ![]() |
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |