gdlv icon indicating copy to clipboard operation
gdlv copied to clipboard

Can't rebuild with `gdlv debug`

Open nexovec opened this issue 5 months ago • 5 comments

When you do gldv debug ., you can not rebuild, because it says command "rebuild" not available.

Are you planning to support this?

nexovec avatar Jul 24 '25 20:07 nexovec

The restart command checks if the source files have changed and asks to rebuild. It uses modification time so maybe sometimes it fails with git but it should work most of the time. In what specific case do you need rebuild?

aarzilli avatar Jul 25 '25 13:07 aarzilli

generally in cases when I need to make a quick change and relaunch without losing all my breakpoints inside delve.

nexovec avatar Aug 03 '25 15:08 nexovec

Does restart prompt you to rebuild in that case?

aarzilli avatar Aug 03 '25 15:08 aarzilli

Wait what? Yes, it does. But I really had no way of knowing this, would you consider exposing the normal delve's rebuild command in the command bar in the UI's console?

(to keep parity with delve's actual commands)

nexovec avatar Aug 05 '25 21:08 nexovec

I'll leave this open, see if others wish for this.

aarzilli avatar Aug 06 '25 06:08 aarzilli