Subject: | Debugger confused about next statement |
From Freenode:
04:16 <nohuhu> LeoNerd: Are you aware of any problems with Syntax::Keyword::Try under debugger?
04:17 <nohuhu> Looks like I found one but not quite sure if it’s a problem or not
04:18 <nohuhu> When stepping over code, debugger shows the line after try/catch block as the next line to be executed, but doesn’t really execute it
04:18 <nohuhu> Stepping over again it proceeds into the try/catch block as expected
04:23 <perlbot> nohuhu pasted a new file at https://f.perl.bot/p/7wi8c3 - try/catch debugger issue?
04:23 <nohuhu> LeoNerd: Simplified test case above ^^
04:23 <nohuhu> Although it shows the catch keyword line instead, so not sure where the problem is
04:24 <nohuhu> In my code it displays the next statement after catch {} block
--
Paul Evans