• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
All I can say is WTF!!!!!!!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

All I can say is WTF!!!!!!!


  • Subject: All I can say is WTF!!!!!!!
  • From: Thomas Davie <email@hidden>
  • Date: Sun, 30 Mar 2003 13:17:41 +0100

Hi,
I'm coming across the weirdest bug I've ever seen, so hopefully one
of you can shed some light on it. This is the line that is causing the
trouble:
[(QrateControlPoint *)mostRecentCreation setForwardVector:[QrateVector
vectorBetween:[mostRecentCreation position] and:worldPoint]];

What happens is that [mostRecentCreation position] is called... trace
provided below. But in between that returning and [QrateVector
vectorBetween: and:] being called my program exits (apparently normally
with status code 1). If I set a break point on line 1 of +
(QrateVector *)vectorBetween:(QratePoint *)one and:(QratePoint *)two
the code exits before it gets to the break point.

This is the trace from -(QratePoint *)position, which shows that the
position exists and has all it's bits working :D

Debug Info from [mostRecentCreation position]:

1 - (QratePoint *)position
2 {
3 return position;
4 }

At line 3:
==========
(gdb) po position
<QratePoint: 0x226db00>
(gdb) print position
$5 = (QratePoint *) 0x226db00
(gdb) print (float)[position x]
$6 = -1.93181896
(gdb) print (float)[position y]
$7 = 1.875
(gdb) print (float)[position z]
$8 = 0
(gdb)

At line 4:
==========
(gdb) po position
<QratePoint: 0x226db00>
(gdb) print position
$5 = (QratePoint *) 0x226db00
(gdb) print (float)[position x]
$6 = -1.93181896
(gdb) print (float)[position y]
$7 = 1.875
(gdb) print (float)[position z]
$8 = 0
(gdb)

Any ideas welcome.

Thanks

Bob
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: NSMatrix & mouseDragged?
  • Next by Date: Enable a NSMenuItem created programmatically
  • Previous by thread: Re: How to detect whether a filename points to a text clipping?
  • Next by thread: Enable a NSMenuItem created programmatically
  • Index(es):
    • Date
    • Thread