2

Try to debug In LightIde, . However, when I start debug, the following console message appear

(gdb)
10000015^error,msg="No symbol table is loaded. Use the \"file\" command."
(gdb)
10000016^error,msg="No executable specified, use `target exec'."
(gdb)

And it does not start debug.
What is missing?

OneOfOne
  • 95,033
  • 20
  • 184
  • 185

1 Answers1

1

It depends on your config: liteide - open project xxx.go , edit toolbar build config -> BUILDARGS (like the -g flag).

For instance, you can try (as in this issue) -gcflags "-N -l". As mentioned in this thread,

if BUILDARGS setup includes: -ldflags "-s", no debug info is loaded.

Community
  • 1
  • 1
VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250