4

I have the following structure:

A package PCK_LANCAMENTOSERVICO within a procedure called P_Integra.

This procedure calls another procedure in another package PCK_LANCAMENTO called P_BeforeLancamento

The procedure P_BeforeLancamento calls another procedure called P_ProximoLanc in PCK_UTIL

I'm debugging the P_Integra(PCK_LANCAMENTOSERVICO) procedure. If a put a breakpoint in P_Integra procedure, this works ok. If a put a breakpoint in P_ProximoLanc procedure, this works fine. But if a put a brekpoint in P_BeforeLancamento, the debugger doesn't stop on breakpoint.

I added debug information in all packages. The package PCK_LANCAMENTOSERVICO has 500 lines. The package PCK_LANCAMENTO has 4000 lines and the package PCK_UTIL has 300 lines.

The debugger doesn't work in SQL Developer neither in PL/SQL Developer.

Is there a know issue about this? Size of package? Or another thing?

Thanks a lot

André

4

1 回答 1

4

您可能有权执行该过程,但不能对其进行调试。查看此查询的结果:

select *
from all_tab_privs
where privilege in ('EXECUTE', 'DEBUG')
    and table_name in ('PCK_LANCAMENTOSERVICO', 'PCK_LANCAMENTO', 'PCK_UTIL');

如果DEBUG缺失,执行grant debug on PCK_LANCAMENTO to <your_user>;

于 2013-02-01T05:01:23.020 回答