-
Notifications
You must be signed in to change notification settings - Fork 35
Issuing Continue ignores breakpoints and runs to end #95
Comments
I'm running vscode on a Mac and finally got the debugger working. |
I have the same probleme when I use perl debugger vscode on ubuntu 18.04.2 |
I'm very happy too that I can use the debugger on macOS. Anyway this breakpoint issue occurs when you have predefined breakpoints. Somehow the started debugger doesn't sense them. Fortunately you can workaround it by deactivating your existing ones from the breakpoints tab before starting the debugger then when it started activate them. |
Thanks @MrSilco, that worked for me as you say. This will work in the meantime, but it would really be nice if the debugger knew about the predefined breakpoints. |
@drq883 : Which version of the extension? Have you tried enabling the |
The version is mortenhenriksen.perl-debug@0.5.0
I’ll get the output of debugRaw next week. I’m heading out on holiday tomorrow morning.
|
Hi,
thank you very much for your help.
your adsvise is good.
thanks in advance
PS: I don't use the debugger on macOS but on Ubuntu 18.04.
Rémi Charles Lageix Aréna
…________________________________
De : MrSilco <notifications@github.com>
Envoyé : mercredi 17 avril 2019 14:17
À : raix/vscode-perl-debug
Cc : remicharleslageixarena; Comment
Objet : Re: [raix/vscode-perl-debug] Issuing Continue ignores breakpoints and runs to end (#95)
I'm very happy too that I can use the debugger on macOS. Anyway this breakpoint issue occurs when you have predefined breakpoints. Somehow the started debugger doesn't sense them. Fortunately you can workaround it by deactivating your existing ones from the breakpoints tab before starting the debugger then when it started activate them.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub<#95 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AvZ_9SQTBn8tPhKOcCa-Mhj2mdwSVlyYks5vhxDpgaJpZM4cyT6f>.
|
The perl script I have is:
I have a breakpoint at the "print $index\n"; line before I start the debugger. I start the debugger, click the continue button and it runs to the end. While in the debugger, if I unset the breakpoint and set it back, continue stops as expected. I've attached the debugRaw.txt file from when it doesn't stop properly: |
0.6.0 seems to have fixed this issue. But it seems once I have debugRaw set to true. I can't undo that. When I look in Output, I still she the debugRaw output. That's not really a problem tho. |
@remicharleslageixarena : Could you give 0.6.0 a try? @drq883 : Very possible that 0.6.0 ignores the setting and always generates that output window, I believe I fixed something like that recently (in #91). |
My breakpoints are also ignored: Stop the debugger manuallyGo to the source code where you want the break point, and enter right before the line where you want to stop: $DB::single=1 From now on, this will indeed act like a breakpoint. However:
Stop the debugger on load
The breakpoints in that file will now be active. However:
ObservationsI think this is a limitation of the Perl Debugger; I'm not sure if any of the methods documented above can be "automated" through a VS Code extension??? |
No description provided.
The text was updated successfully, but these errors were encountered: