Search notes:

oradebug setorapid

On Windows

select
   prc.spid,   -- Use this number for oradebug setospid
   prc.pid     -- Use this number for oradebug setorapid
from
   v$session     ses                                                   join
   v$process     prc on ses.paddr           = prc.addr
where
   ses.sid = sys_context('userenv', 'sid');
SQL> oradebug setorapid 52
Oracle pid: 52, Windows thread id: 15752, image: ORACLE.EXE (SHAD)
The thread id (here: 15752) corresponds to prc.spid in the query above.

See also

oradebug setospid
oradebug setmypid
ORA-00074: No process specified for debugging.
oradebug

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...', 1758198715, '216.73.216.150', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/development/databases/Oracle/tools/oradebug/setorapid(61): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78