Horrih · 2022-03-12 16:59
Helll Guys
I recently tried using dap mode for debugging and it worked fine in GUI.
In terminal it was mostly good expect for breakpoints not showing on the left fringe.
Has anyone encountered this and knows how to fix it ?
Otherwise i might try something with a background overlay upon breakpoint toggle but that would be suboptimal
Thanks !
yyoncho · 2022-03-12 17:16
There are faces you can use to avoid that limitation. Look for dap-ui-breakpoint*-face
Horrih · 2022-03-12 18:33
Thanks will try !
Horrih · 2022-03-13 14:10
This is what i ended up doing, works like a charm
`(unless (display-graphic-p)`
`(set-face-background 'dap-ui-marker-face "color-166") ; An orange background for the line to execute`
`(set-face-attribute 'dap-ui-marker-face nil :inherit nil) ; Do not inherit other styles`
`(set-face-background 'dap-ui-pending-breakpoint-face "blue") ; Blue background for breakpoints line`
`(set-face-attribute 'dap-ui-verified-breakpoint-face nil :inherit 'dap-ui-pending-breakpoint-face)))`