Camelcade / Devel-Camelcadedb

Perl module for debugging with Perl5 plugin for IntelliJ
Other
23 stars 9 forks source link

Debugger messes up SQLite DBD handle #9

Open hurricup opened 8 years ago

hurricup commented 8 years ago

from @mradile: I am using DBD::SQLite in my code with "PRAGMA foreign_keys =1".

When using the Debugger (remote debugging a script) the following statements fail:

$dbh->do("PRAGMA foreign_keys = 1"); 
my $res = $dbh->selectall_arrayref("PRAGMA foreign_keys");
unless ($res && $res->[0] && !empty($res->[0]->[0])) {
    die "Failed!";
}
hurricup commented 8 years ago

Any watches are active? Or breakpoints conditions?