Search notes:

oradebug action: shortstack

SQL> oradebug doc event action shortstack
shortstack
        - get short stack (up to 256 characters)
showoffsets controls display of code offsets
skipframes can be used to overcome 256 char limit
Usage
-------
shortstack( skipframes      <ub8> default '0',
            showoffsets     < false | true > default 'false',
            Action returns: <string>[256])

Test

In «oradebug» session:
SQL> oradebug setospid 13240
SQL> oradebug event trace[RDBMS.SQL_Compiler] trace("shortstack: %\n", shortstack())
SQL> oradebug tracefile_name
In «debugged» session
select
  …

See also

The action callstack
oradebug short_stack

Index

Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php:78 Stack trace: #0 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(78): PDOStatement->execute(Array) #1 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(30): insert_webrequest_('/notes/developm...', 1745376331, '160.79.110.225', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/development/databases/Oracle/tools/oradebug/doc/event/action/shortstack/index(60): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78