C$SLEEP ignored when debugging

0 Likes

This article explains what to do if the call to the C$SLEEP library routine is ignored when running in the debugger.

Problem:

When executing a program in the Runtime debugger the program’s call to C$SLEEP is ignored and the program immediately proceeds to the next statement.

Resolution:

The program in this case is multithreaded and the debugger was not set to run all threads.

The resolution is to toggle the debugger to Run all Threads mode. This is done by entering “ra” at the debugger prompt or selecting the corresponding item from the Run menu.

Old KB# 14542
Comment List
Related
Recommended