Board index » cppbuilder » De{*word*81} stepping backwards

De{*word*81} stepping backwards

Hello,

I have the following code:

void __fastcall TfrmConvert::LoadScriptFile( void )
{
Line1>  String FileNameList = ScriptFileName;  // can be comma delimited
list of filenames
Line2>  AnsiString FileName;

Line3>  Script = new TSQLStatementList();
Line4>  Script->SetSybaseTranslation( SybaseTranslationOn );

When I try to debug this code, the de{*word*81} will step from line 1 to 2 then
back to 1 then down to line 3 then back to line 2 etc...

What could cause the de{*word*81} to do this.

Thanks,

 

Re:De{*word*81} stepping backwards


Quote
"Dan" <Dan.ranco...@healthware.on.ca> wrote in message

news:87estt$5ik7@bornews.borland.com...

Quote

> What could cause the de{*word*81} to do this.

If you have any optimizing turned on in the compiler settings, then this
will cause the de{*word*81} to jump around.  If you look at the CPU view, you
will see this.

Russell

Other Threads