dap-mode icon indicating copy to clipboard operation
dap-mode copied to clipboard

Suggestion Dap-ui-breakpoints skip breakpoints option

Open MarcoHassan opened this issue 3 years ago • 2 comments

Hi all,

Would be cool to have a skip breakpoints option as in eclipse.

Meaning even if I am in debug mode I mark all the breakpoints/ some of the breakpoints as "skip" such that the debugger will not stop there.

It is handy at times.

Let me know if it is a feature that is already present in the code-base. Could not find it.

Best, Marco

MarcoHassan avatar May 03 '22 09:05 MarcoHassan

as per protocol, putting :noDebug t in the template should do.

yyoncho avatar May 03 '22 11:05 yyoncho

From the open source docu

/**

  • If noDebug is true the launch request should launch the program without
  • enabling debugging. */

so I guess that for the specific session you would ignore all of the breakpoints.

But this means that in order to reactivate them you would have to terminate the session and initiate a new one correct?

What is the point of having a debugging session open without debugging at all?

On the top of it with the proposed solution you could not selectively ignore a subset of the breakpoints while keeping the rest as it is possible in Eclipse.

Am I missing something or interpreting smth in the wrong way?

MarcoHassan avatar May 03 '22 15:05 MarcoHassan