How to find the line number of error in forms6i [message #556465] |
Mon, 04 June 2012 07:22 |
|
Hi, Can anyone tell me how to find the line number along with package name or procedure name (for ex. in Oracle 10g DBMS_UTILITY.FORMAT_ERROR_BACKTRACE ) where exactly error is coming in forms.There is plsql code written and while executing the code, ORA-01722: invalid number error is coming.For easy tracing the error, any way is there ?
I searched in google before posting in this forum and found that ON-ERROR trigger if we write DBMS_ERROR_TEXT it will display the ling numner along with package or procedure name.
But it is not working and this is only giving me error name no line number.
|
|
|
|
|
Re: How to find the line number of error in forms6i [message #556522 is a reply to message #556518] |
Tue, 05 June 2012 01:50 |
|
Littlefoot
Messages: 21823 Registered: June 2005 Location: Croatia, Europe
|
Senior Member Account Moderator |
|
|
If you were on Forms 10g, then you could run the form in debug mode which is a great tool for discovering such things. Unfortunately, Forms 6i doesn't offer that option.
P.S. One more idea: if possible, perhaps you could use your code and create a stored procedure (or an anonymous PL/SQL block) and run it in SQL*Plus - it *would* show the culprit.
[Updated on: Tue, 05 June 2012 01:51] Report message to a moderator
|
|
|