Or, when stepping through your code, assign the statement to a local variable first:
stmt := 'delete mytable where rowid = ''' | | p_rowid | | '''';
execute immediate stmt;
After the debugger has reached the stmt assignment, you can easily inspect its value.
------------------
Marco Kalter
Allround Automations