Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Codewarrior Palm > program hanging...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 1 Topic 646 of 719
Post > Topic >>

program hanging after returning from a constructor

by "briforge" <briforge@[EMAIL PROTECTED] > Aug 3, 2005 at 08:29 PM

I am cross-posting this, I already posted it in the palm-dev-forum, but
I'm desperate for a fix. Sorry.


My program is hanging, like it's in an infinite loop, while returning
from constructing an object. Through the debugger, I've found that it
is hanging on the returning call to the constructor. I put a breakpoint
on the closing bracket of the constructor, and it goes past that point
fine. Then it hangs on the returning line, like this

mg = MyGame();

The MyGame variable 'mg' is declared in a file of global variables and
referenced through an extern reference. It has been used before with
another MyGame() object.

It appears to work fine the first time the mg object is constructed.
Then I re-use the mg reference when I am resuming a saved game. I don't
have a destructor for the MyGame() object, but I never have. I don't do
any memory allocation within the object.

None of this is new, it's been working fine for months. I haven't made
changes to any of this code.

Any ideas?
 




 1 Posts in Topic:
program hanging after returning from a constructor
"briforge" <  2005-08-03 20:29:03 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Wed Oct 15 19:43:05 CDT 2008.