Database Utilities (MOSC)

MOSC Banner

oradebug errorstack with context forever?

edited Jun 6, 2022 10:57PM in Database Utilities (MOSC) 1 commentAnswered

Hi,

Is there some way to generate trace of a specified erro and only stop when I turn off it?

For example, I will catch ORA-01422: exact fetch returns more than requested number of rows for a specified session.

oradebug setospid 14434

oradebug unlimit;

oradebug event 1422 trace name errorstack level 3;

ORADEBUG TRACEFILE_NAME

/u01/app/oracle/diag/rdbms/jupiter/jupiter2/trace/jupiter2_ora_14434.trc

it's logged only the first time the erro has happened, the same subsequential erros are not logged. if this erro happen for two difference procedures, it only get the erro of first procedure.

I have tried possible combinations like it:

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center