Hi

I can compile, and link my project, but when I Ctrl-F5 for debugging on
the emulator, I don't get as far as stepping through the PilotMain
function.  An assembler window appears (notorious for appearing when
I've done something wrong), and a dialog appears, containing a few
garbled characters/symbols.  
Is this a bug in the compiler?  Any ideas as to what I should pay
attention to, to identify the problem?

I suspect my problem lies with globals, and segments, but am unable to
pinpoint the cause.
When I start to comment sections of code out, the problem can be
removed.  It appears to relate directly to whether or not a call is made
to another segment.  What is most bizarre is the way that it dies prior
to the PilotMain() call rather than later in the code when it gets to
it.

Could I have overflowed the stack in some way affecting program
initialization?
Is there a way to step through the initialization code prior to the
PilotMain()?

I've adhered to the Multi Segment Project Stationary Readme file, which
explains how any code that would be called by events other than the
'Normal App Launch event', should be in the first segment (using the MAP
file to confirm).
So from this point on, I am at a loss, and am just scratching at it
trying to make it work.
Any help would be greatly appreciated.

Jason Garrett
Wireless Data Services
Ph: +64 9 3794710    Fax: +64 9 3797360

Reply via email to