visualfc / liteide

LiteIDE is a simple, open source, cross-platform Go IDE.
GNU Lesser General Public License v2.1
7.6k stars 972 forks source link

Debugging a single file? #1281

Open ShizuhaAki opened 1 year ago

ShizuhaAki commented 1 year ago

Please answer these questions before submitting your issue. Thanks! Please download LiteIDE latest version and test before submitting your issue. Thanks!

What version of LiteIDE are you using (LiteIDE About - Version and Build Qt Version)?

X38.2; Qt 5.15.2

What version of Go are you using (go version)?

1.20.5

What operating system and processor architecture are you using(go env)?

Darwin AMD64

What did you do?

I hit Debug on a single file. (I haven't written the main package yet because it will be a graphical application)

What did you expect to see?

Delve should be automagically configured to run in dlv test mode when the current active file is not the main package.

What did you see instead?

Delve crashed with a "not an executable" error.