Amazon.com Widgets Debugger running
Welcome, Guest. Please login or register.
Did you miss your activation email?
May 19, 2013, 05:33:13 PM
Home Help Search chat Login Register   
News: Read this please.The Great Kangaroo Escape Looking for reviews of the 4th ed on Amazon!   Twitter:  @skochan
                     

+  Official Forum for Programming in Objective-C (the iPhone Programming Language) - Stephen Kochan
|-+  Old Stuff
| |-+  Help!!!
| | |-+  Debugger running
Pages: [1]   Go Down
Print
Author Topic: Debugger running  (Read 466 times)
hdelman
Newbie
*
Posts: 21






« on: April 06, 2009, 07:29:17 PM »

I'm not sure if it is something in my code, or something I did to Xcode, but something new is happening when I click "build & go."

I am still playing around in chapter 7, program 7.6.  When I run the program now, I still get the right answers, but then I get another message and the debugger starts, e.g.:

After 2 interations, the sum is 0.75
objc[510]: FREED(id): message release sent to freed object=0x104c00

[Session started at 2009-04-06 19:16:30 -0700.]
Loading program into debugger…

I miss that satisfying message: "The Debugger has exited with status 0."

Can anyone help?

Howard
Logged
skochan
Administrator
Hero Member
*****
Posts: 3103







« Reply #1 on: April 06, 2009, 07:35:19 PM »

I suspect you're sending a release message to an object that has already been released.  Can you post your code or take a close look?

Cheers,

Steve Kochan
Logged
hdelman
Newbie
*
Posts: 21






« Reply #2 on: April 06, 2009, 09:22:02 PM »

Well...  I was carefully comparing my code to what is in the book.  I re-ordered the declarations in fraction.h to match the sequence in the book, and when I rebuilt, it worked fine.  No debugging stuff.  The Debugger has exited with status 0.

So then I put it back the way it was when it was causing grief, but it still worked.  Ahhh.... the mysteries of software.

For now, all seems well.  Thanks for the offer of help.

Howard
Logged
Pages: [1]   Go Up
Print
Jump to:  



Login with username, password and session length

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
Entire forum contents (c) 2009 classroomM.com. All rights reserved.