When a valid code is compiled in TOAD for Oracle using debug option, it is found that it intermittently compiles the code into invalid code. A '/' is appended to the source code after compile is being run.
A '/' is automatically appended to the source code when the source code is loaded into Toad for Oracle.
WORKAROUND 1:
After the first compilation, recompile with debug option . The code normally compiles successfully.
WORKAROUND 2:
Remove the '/' at the last line of the source code , and recompile with debug option.
STATUS:
Enhancement request ST61395 has been submitted to Development for consideration in a future release of TOAD for Oracle
ST61395 is submitted to provide the option to control whether a '/' gets appended to the source code or not.