suzmue / gophercon Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
OS: Windows
Go: 1.17.2
I was going through your talk on the gophercon and follow along. Somehow I'm not encountering any breakpoint when visit the bar. Same with the gym.
I have cloned this version of code. https://github.com/suzmue/gophercon/tree/ffabae99c43a511fe7e53451aa3761d639012a69
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
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}}}
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.