Skip to content

[Bug]: failed to step in a PL object which is defined twice with same name when debugging a procedure  #187

@yhilmare

Description

@yhilmare

ODC version

4.2.0

OB version

not related

What happened?

there are procedures as follow:

create or replace procedure P1(a in varchar) 
IS 
    b varchar(100);
    d int;
    FUNCTION P2(c in varchar) return integer
    is
        v1 int;
    begin
        dbms_output.put_line('11');
        v1 := 1;
        return v1;
    end P2;
begin
    b := 'test'||a;
    P2(b);
end;

create or replace procedure P2(c in varchar)
    is
    begin
        dbms_output.put_line('11');
    end P2;

I debug procedure P1 and want to step in P2, there may step in outer P2 proc.

What did you expect to happen?

step in inner P2 proc

How can we reproduce it (as minimally and precisely as possible)?

follow 'What happened'

Anything else we need to know?

No response

Cloud

No response

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

Status
New

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions