Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
yhilmare opened this issue Sep 6, 2023 · 0 comments
Assignees
Milestone

Comments

@yhilmare
Copy link
Contributor

yhilmare commented Sep 6, 2023

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

@yhilmare yhilmare added this to the ODC 4.2.2 milestone Sep 6, 2023
@yhilmare yhilmare self-assigned this Sep 6, 2023
@yhilmare yhilmare added this to ODC Sep 6, 2023
@yhilmare yhilmare moved this to New in ODC Sep 8, 2023
@yhilmare yhilmare modified the milestones: ODC 4.2.3, ODC 4.2.4 Oct 31, 2023
@yhilmare yhilmare modified the milestones: ODC 4.2.4, ODC 4.2.5, ODC 4.3.0 Mar 11, 2024
@yhilmare yhilmare modified the milestones: ODC 4.3.0, ODC 4.3.1 May 20, 2024
@tonghan-gsh tonghan-gsh modified the milestones: ODC 4.3.1, ODC 4.3.2 Jun 27, 2024
@tonghan-gsh tonghan-gsh modified the milestones: ODC 4.3.2, ODC 4.3.3 Aug 29, 2024
@Huangxiao-mas Huangxiao-mas modified the milestones: ODC 4.3.3, ODC 4.3.4 Dec 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: New
Development

No branches or pull requests

5 participants