You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using dune to build an executable in the bin/ folder and a library in the lib/ folder.
When I use vscode to debug, I'm able to set breakpoints in the bin/main.ml and when the program starts, it pauses at those breakpoints. However, if I set breakpoints in the lib/a.ml file, the program doesn't pause when it reaches the line in lib/a.ml.
However, when I set a breakpoint in bin/main.ml and debug, if I use the debug controls such as step-over, i am able to reach the lines in lib/a.ml but setting breakpoints in lib/a.ml still doesn't work.
The text was updated successfully, but these errors were encountered:
varunpatro
changed the title
Breakpoints not hit when using other libraries
Breakpoints not hit when using libraries in sub-folders
Jan 8, 2019
Here's my folder structure:
I'm using dune to build an executable in the
bin/
folder and a library in thelib/
folder.When I use vscode to debug, I'm able to set breakpoints in the
bin/main.ml
and when the program starts, it pauses at those breakpoints. However, if I set breakpoints in thelib/a.ml
file, the program doesn't pause when it reaches the line inlib/a.ml
.However, when I set a breakpoint in
bin/main.ml
and debug, if I use the debug controls such as step-over, i am able to reach the lines inlib/a.ml
but setting breakpoints inlib/a.ml
still doesn't work.The text was updated successfully, but these errors were encountered: