Skip to content

Instantly share code, notes, and snippets.

@sir-farfan
Created August 5, 2020 15:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sir-farfan/b81eb9788ce44db93fd677d19f0c2299 to your computer and use it in GitHub Desktop.
Save sir-farfan/b81eb9788ce44db93fd677d19f0c2299 to your computer and use it in GitHub Desktop.
VSCode bug on debugger
package main
// BUG:
// Start a debugging session from VSCode and attempt to copy
// the value from the variable.
// You only get the first 80 characters or so.
import "fmt"
func main() {
copy_if_you_can := "The Eurasian crag martin (Ptyonoprogne rupestris) is a small swallow with brown upperparts, paler underparts, and a white-spotted square tail. It breeds in mountains in southern Eurasia and northwestern Africa. It is larger and has brighter tail spots than the three other species in its genus. Many European birds are resident, but northern and Asian populations winter in north Africa, the Middle East or India. This martin builds a half-cup mud nest lined with soft material under a cliff overhang or on a building, and the female lays two to five brown-blotched white eggs, incubated mainly by her although both parents feed the chicks. The martin feeds on insects that are caught as it flies near cliff faces or over open country. Adults and young may be hunted by birds of prey or corvids, and may host blood-sucking mites. With its large and expanding range and population there are no significant conservation concerns. (This article is part of a featured topic: Crag martins.)"
fmt.Println(copy_if_you_can)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment