Required Parameter Group:
Service Program: QTETHRD
|
The Change Current Thread (QteChangeCurrentThread) API changes the current thread to any thread being debugged. (1) A current thread has several properties that distinguish it from other threads being debugged:
Before the current thread can be changed the new current thread must be stopped or halted and is waiting for debug to restart it. If this is not true, an error is returned to the API caller and the current thread is not changed.
Threads debugging is supported if a service job is used to debug a job that was spawned by native threads support. If this is not the debug environment present when this API is called, a CPF958B error is returned.
This is an 8-byte handle assigned by the system.
The structure in which to return error information. For the format of the structure, see Error Code Parameter.
|
Top
| Debugger APIs
| Source Debugger APIs Source Debugger APIs and Exit Programs | Create View APIs | APIs by category |
| [Information Center Home Page | Feedback ] | [Legal | AS/400 Glossary] |