If you have successfully installed the debugger plugin, and the plugin is up and running, you can start Debug from procedure source page by right-clicking the procedure source text - a context menu appears: The process will be implementing commands unless the procedure finishes or an exception is thrown. Afterwards, the process becomes blocked and waits for PROXY (client) commands.The target process establishes a connection with PROXY and reports that the breakpoint is reached.On each executed line, the target process checks if the global breakpoint with corresponding conditions exists, and becomes blocked if the breakpoint exists and conditions are met.The initiator creates a connection and runs the selected procedure.PROXY receives the global control point from the client and adds global control point to the shared memory, if the point of this type has not been added before.After that, the client creates a global breakpoint for the selected function, and then becomes blocked via the pldbg_wait_for_target API call waiting for the server process. The client creates a session and then establishes a connection with PROXY (receiving session).When you create a session with a global breakpoint, the following steps take place: ![]() No modifications or additional calls from the debugged process are required. Whenever the breakpoint is global, stop will be done for any server process launched by anyone. How to start debug with global breakpoint Send debugging commands to the process.After that, using the identificator, one can: PROXY receives PORT from the client, then establishes connection to the process, and returns the session identifier to the client.If the connection cannot be established, the Error rcv port number message appears. The connection is established via API call attach_to_port. Debug Client creates a session, then tries to establish connection with the debugged process, using PORT from step 3 provided by the initiator.If Debug Client cannot get PORT name from the process being debugged, an error message appears. Then the process opens the socket and becomes blocked, waiting for PROXY connection. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |