Oracle Corporation
Transferring a debug configuration amongst carrier threads for debugging a carried thread

Last updated:

Abstract:

Providing debugging support for a carried thread are disclosed. A debug agent converts between identifiers of carried threads and carrier threads. Further, a debug agent transfers debug configurations amongst multiple carrier threads associated with a same carried thread. With respect to debug configuration transfers, an agent receives, from a debugger, a command to set an active debug configuration for a carrier thread on which a carried thread is mounted. Responsive to determining that the carried thread is unmounted, the agent stores the active debug configuration for the carrier thread as a recorded debug configuration associated with the carried thread. The agent transmits a command to reset the active debug configuration on the carrier thread. Responsive to determining that the carried thread is mounted on a carrier thread, the agent retrieves the recorded debug configuration. The agent restores the recorded debug configuration as an active debug configuration on the current carrier thread.

Status:
Grant
Type:

Utility

Filling date:

23 Apr 2019

Issue date:

12 Jan 2021