File tree 1 file changed +9
-0
lines changed
1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -180,6 +180,15 @@ <h3 id="Known_Issues">Known Issues</h3>
180
180
that needs to be quoted. It objects even more strongly to method names of
181
181
the form < code > pkg.(*MyType).Meth</ code > .
182
182
< li > All global variables are lumped into package < code > "main"</ code > .</ li >
183
+ < li > As of Go 1.11, debug information is compressed by default.
184
+ Older versions of gdb, such as the one available by default on MacOS,
185
+ do not understand the compression.
186
+ You can generate uncompressed debug information by using < code > go
187
+ build -ldflags=-compressdwarf=false</ code > .
188
+ (For convenience you can put the < code > -ldflags</ code > option in
189
+ the < a href ="/cmd/go/#hdr-Environment_variables "> < code > GOFLAGS</ code >
190
+ environment variable</ a > so that you don't have to specify it each time.)
191
+ </ li >
183
192
</ ol >
184
193
185
194
< h2 id ="Tutorial "> Tutorial</ h2 >
You can’t perform that action at this time.
0 commit comments