>>>your ON SHUTDOWN procedure? Any attempt to step through it results in:
>>>
>>>CANCEL or SUSPEND is not allowed (Error 1651)
>>>
>>>The dBASE IV report or label file you are running calls a SUSPEND. This is not a valid operation in Visual FoxPro.
>>
>>You can make it regular code instead of shutdown code. Call it from the app in a regular way, without waiting for it to be called on shutdown. Once you've done debugging, then make it on shutdown again.
>
>I think this was scenario I debugged this code before.
So is it that it cann't suspend/debug because it's in shutdown, or because it's some procedural code called from a legacy report? How about skipping the report entirely, or at least redoing it from scratch?
[edit: ah now I see it's you - I was under impression that I was addressing the guy who started the thread :)]