Norman Vine wrote:
>
>Geoff McLane writes:
>
>>When running your fgfs.exe the log ends abruptly with
>>...
>> </autopilot>
>></PropertyList>
>>********* After fgSaveFlight()
>>********* Before globals->saveInitialState()
Aha this is my xtra instrumentation in fg_init()
bool fgInitSubsystems( void ) {
...............
#define TEST_SAVE_INITIAL_STATE 1
#ifdef TEST_SAVE_INITIAL_STATE
// ADDED NHV
SG_LOG( SG_GENERAL, SG_INFO, "********* Before fgSaveFlight()" );
fgSaveFlight(cout);
SG_LOG( SG_GENERAL, SG_INFO, "********* After fgSaveFlight()" );
#endif
SG_LOG( SG_GENERAL, SG_INFO, "********* Before
globals->saveInitialState()" );
globals->saveInitialState();
SG_LOG( SG_GENERAL, SG_INFO, "********* After
globals->saveInitialState()" );
return true;
}
DaveM
Have you any idea why whe fgSaveFlight() succeeds saveInitialState() won't
or perhaps some insight as to how Goeff can best debug this as to what is
bogus
in the properties
Goeff
Can you put a breakpoint at the globals->saveInitialState(); call
and then inspect the properties tree for a BOUGUS value ??
Cheers
Norman
_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel