Debugging Problem In plsql Developer ver 7.0.0 [message #245531] |
Mon, 18 June 2007 00:53 |
sweetkhaliq
Messages: 200 Registered: April 2006
|
Senior Member |
|
|
Dear All
I was unable to debug any program or script with plsql developer Version 7.0.0. I have studied from the provieded help That Test Window provides an integrated
debugger. To start a debug session, just press the Start button at the left of the debug toolbar instead of the Execute button in the main toolbar. The other buttons are now enabled and you are ready to debug.
But when i write the code in test window and try to debug but
the start button and other buttons are disabled.
Please tell me how can i debug the code. How can i enable the start and step into , step out buttons.
I will be very thankful to you.
|
|
|
|
|
|
|
|
|
|
|
|
Re: Debugging Problem In plsql Developer ver 7.0.0 [message #246207 is a reply to message #246149] |
Wed, 20 June 2007 05:16 |
Frank
Messages: 7901 Registered: March 2000
|
Senior Member |
|
|
The testwindow is used to call the code you want to debug.
Your production system consists of series of stored program units. It is these procedures, functions and packages that you want to debug.
You use the testwindow to set up/initialize your session to call the faulty code. Then you debug that code, not the code you use to setup your testcase.
|
|
|
|
Re: Debugging Problem In plsql Developer ver 7.0.0 [message #246439 is a reply to message #246216] |
Thu, 21 June 2007 00:13 |
Frank
Messages: 7901 Registered: March 2000
|
Senior Member |
|
|
Create stored procedure. Pretend this is the code containing the bug in your production environment. You want to find the bug, so you set a breakpoint in this stored procedure.
Then you need a way to call this procedure. For this you use the Test window. In this testwindow you prepare your variables and call the procedure.
|
|
|
|
|
Re: Debugging Problem In plsql Developer ver 7.0.0 [message #248245 is a reply to message #245531] |
Thu, 28 June 2007 07:33 |
MarcL
Messages: 455 Registered: November 2006 Location: Connecticut, USA
|
Senior Member |
|
|
I'm not sure the how's and why's but sometimes when trying to debug in pl/sql developer I need to "add debug information" to the procedure I am trying to debug.
Right click on the procedure and choose add debug information.
I don't think this is the issue in your case as you are not even getting to the debugger, but worth a shot.
|
|
|
|
|
|