Code Monkey home page Code Monkey logo

gophercon's People

Contributors

findleyr avatar suzmue avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

gophercon's Issues

Failed to launch: could not launch process: stub exited while waiting for connection: exit status 0

Problem

Hello Suzy, thanks for creating this debugging treasure hunt. I tried to follow your presentation GopherCon 2021: Suzy Mueller - Debugging Treasure Hunt, but quickly came across some problems.

I navigated to main.go, hit the Launch Package button, then this error message showed up: Failed to launch: could not launch process: stub exited while waiting for connection: exit status 0
Screen Shot 2022-02-08 at 10 48 48 PM

Here is my system information:
go version go1.17.6 darwin/arm64
macOS Big Sur Version 11.0.1 (20B29) MacBook Air (M1, 2020)

I wonder if you have any suggestions?

More information for debugging:

Starting: [/Users/yahsinhuang/go/bin/dlv]() dap --check-go-version=false --log=true --log-output=dap --listen=127.0.0.1:60940 --log-dest=3 from [/Users/yahsinhuang/delve/gophercon]()
DAP server listening at: 127.0.0.1:60940
2022-02-08T22:47:57+08:00 debug layer=dap DAP server pid = 95395
2022-02-08T22:47:57+08:00 debug layer=dap DAP connection 1 started
2022-02-08T22:47:57+08:00 debug layer=dap parsed launch config: {
	"mode": "debug",
	"program": ".",
	"backend": "default",
	"stackTraceDepth": 50
}
2022-02-08T22:47:57+08:00 debug layer=dap building from "[/Users/yahsinhuang/delve/gophercon]()": [go build -o [/var/folders/yr/2csn9t915j5573flrlw9wjp40000gn/T/__debug_bin1264941409]() -gcflags all=-N -l .]
2022-02-08T22:47:57+08:00 debug layer=dap launching binary '[/var/folders/yr/2csn9t915j5573flrlw9wjp40000gn/T/__debug_bin1264941409]()' with config: {
	"mode": "debug",
	"program": "[/Users/yahsinhuang/delve/gophercon]()",
	"cwd": "[/Users/yahsinhuang/delve/gophercon]()",
	"output": "[/var/folders/yr/2csn9t915j5573flrlw9wjp40000gn/T/__debug_bin1264941409]()",
	"dlvCwd": "[/Users/yahsinhuang/delve/gophercon]()",
	"backend": "default",
	"stackTraceDepth": 50
}
2022-02-08T22:47:57+08:00 debug layer=dap Failed to launch: could not launch process: stub exited while waiting for connection: exit status 0
2022-02-08T22:47:57+08:00 debug layer=dap [-> to client]{"seq":0,"type":"response","request_seq":2,"success":false,"command":"launch","message":"Failed to launch","body":{"error":{"id":3000,"format":"Failed to launch: could not launch process: stub exited while waiting for connection: exit status 0","showUser":true}}}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.