Created
May 6, 2020 18:41
-
-
Save Ajwah/b589bea83ee9ede2e246324ca8d544d2 to your computer and use it in GitHub Desktop.
Debugging Breakpoint VSCode Extension Elixir
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Kindly see comments below |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I forced the setting of a breakpoint by hardcoding the module as follows below in this function:
This would in turn call this modified function:
and when checking in the debug console I could see the message:
Succeeded setting breakpoint
But despite that, the breakpoint would still not be triggered.
As such, in addition of the previous problem, there is also the issue that the plugin is not receiving the breakpoint event.
I tried finding the piece of code responsible for receiving a breakpoint event, and the below was the only one I could find:
But as it can be seen, there is no client that uses
breakpoint_reached
. Where should I look for this?