Replies: 3 comments 3 replies
-
Could be. Some debuggers output the log point messages to the stdout of the application you're debugging. If you're running the application in an integrated terminal or external and are attaching the debugger to it, the output could be visible there. Otherwise you could check the logs. See
That's normal that it doesn't start in insert mode |
Beta Was this translation helpful? Give feedback.
-
I set a log point (L in the gutter) and a conditional bp (C in the gutter) and configured dap.set_log_level('TRACE'). The debuggee does not stop at either breakpoint. This is the tail -f dap.log: [ DEBUG ] 2022-02-16T01:14:12Z+0100 ] ...nvim/site/pack/packer/start/nvim-dap/lua/dap/session.lua:560 ] { Shouldn't the log point breakpoint have the 'message' field filled and the conditional breakpoint have a valid 'condition' field? |
Beta Was this translation helpful? Give feedback.
-
It helps if one can read - I get this as the request :-) The app does not stop at the breakpoints. When I call "continue" I get a menu (Terminate, Pause, etc...), terminate and run it again. When I set a breakpoint without log point or condition, it does. stop. Any idea what else I can check or is this maybe a metals problem? |
Beta Was this translation helpful? Give feedback.
-
First of all - thanks all for putting effort into this project :-)
I am trying to debug a Scala 2.13.8 (on 17.0.1 JVM) program. Toggling a breakpoint (marked B in the gutter) works fine. When I try to use a conditional breakpoint or a log point the program does nothing visible, although it does not consume process time. All I can do is "continue()" to load the menu and then hit terminate.
Using:
Any idea where I have to search? Is this maybe a metals problem?
When I open the Dap console, it is empty. I have to type one of the nvim insert characters (a,A,i,I) to get the "dap>" prompt. It seems that the window is not in insert mode. Any idea what's wrong?
Thanks and regards
Peter
Beta Was this translation helpful? Give feedback.
All reactions