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

Failed to execute select pldbg_step_into(1) #12

Open
iamcarlxu opened this issue Nov 15, 2022 · 1 comment
Open

Failed to execute select pldbg_step_into(1) #12

iamcarlxu opened this issue Nov 15, 2022 · 1 comment

Comments

@iamcarlxu
Copy link

iamcarlxu commented Nov 15, 2022

First debugger for pgsql can't identify variables of record type, like this:

declare rec record;
declare jsonData varchar;
declare msgStatus varchar;
declare msgId int;
declare msgCreateTime timestamp;
begin
if catName = 'temp' then
for rec in select t0.id
from zmsg t0
where t0.cat_name = catName and (t0.msg_create_time + t0.report_time_val::interval <= now() or t0.report_time_point::timestamp <= now())
loop
.....
when launched the debugger, there is no rec showed in variables list .

second when excution steps into circulation like "for" ,it occurs an error :

Failed to execute select pldbg_step_into(1)
ERROR: debugger connection terminated
ERROR: debugger connection terminated

DBeaver 22.2.4
PgSQL 10.0

@jasonchenTJ
Copy link

jasonchenTJ commented Mar 18, 2024

Seems it's dbeaver issue instead of the plugin. you can have a try with pgadmin or datagrip.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants