Comments (3)
oh my it crashed
m@MY_PC:~/Desktop/GOLANG/gopath/src/example.com/repo.git/gosiproxd/auth$ $GOPATH/bin/dlv -run
Type 'help' for list of commands.
dlv> run
Command failed: command not available
dlv> r
Command failed: command not available
dlv> help
The following commands are available:
break - Set break point at the entry point of a function, or at a specific file/line. Example: break foo.go:13.
continue - Run until breakpoint or program termination.
step - Single step through program.
next - Step over to next source line.
threads - Print out info for every traced thread.
goroutines - Print out info for every goroutine.
print $var - Evaluate a variable.
exit - Exit the debugger.
dlv> break main
Breakpoint set at 0x421770 for main /home/m/Desktop/GOLANG/go1_3_3/go/src/pkg/runtime/rt0_linux_amd64.s:14
dlv> r
Command failed: command not available
dlv> continue
new thread spawned 4142
Command failed: process 4141 has exited
dlv> run
Command failed: command not available
dlv> goroutines
Command failed: no such process
dlv> break
panic: runtime error: index out of range
goroutine 16 [running]:
runtime.panic(0x550b20, 0x84c39c)
/home/m/Desktop/GOLANG/go1_3_3/go/src/pkg/runtime/panic.c:279 +0xf5
github.com/derekparker/delve/command.breakpoint(0xc2080043c0, 0xc20810f480, 0x0, 0x0, 0x0, 0x0)
/home/m/Desktop/GOLANG/gopath/src/github.com/derekparker/delve/command/command.go:173 +0x528
main.main()
/home/m/Desktop/GOLANG/gopath/src/github.com/derekparker/delve/cmd/dlv/main.go:116 +0x9c0
goroutine 19 [finalizer wait]:
runtime.park(0x415a70, 0x85a958, 0x84fb49)
/home/m/Desktop/GOLANG/go1_3_3/go/src/pkg/runtime/proc.c:1369 +0x89
runtime.parkunlock(0x85a958, 0x84fb49)
/home/m/Desktop/GOLANG/go1_3_3/go/src/pkg/runtime/proc.c:1385 +0x3b
runfinq()
/home/m/Desktop/GOLANG/go1_3_3/go/src/pkg/runtime/mgc0.c:2644 +0xcf
runtime.goexit()
/home/m/Desktop/GOLANG/go1_3_3/go/src/pkg/runtime/proc.c:1445
goroutine 20 [syscall]:
os/signal.loop()
/home/m/Desktop/GOLANG/go1_3_3/go/src/pkg/os/signal/signal_unix.go:21 +0x1e
created by os/signal.init·1
/home/m/Desktop/GOLANG/go1_3_3/go/src/pkg/os/signal/signal_unix.go:27 +0x32
goroutine 21 [chan receive]:
github.com/derekparker/delve/goreadline.func·001()
/home/m/Desktop/GOLANG/gopath/src/github.com/derekparker/delve/goreadline/goreadline.go:25 +0x58
created by github.com/derekparker/delve/goreadline.init·1
/home/m/Desktop/GOLANG/gopath/src/github.com/derekparker/delve/goreadline/goreadline.go:33 +0x11a
goroutine 17 [syscall]:
runtime.goexit()
/home/m/Desktop/GOLANG/go1_3_3/go/src/pkg/runtime/proc.c:1445
from delve.
Yeah, this is a legitimate bug, will push a fix up soon. Thanks for providing that stacktrace.
from delve.
Fixed on master.
from delve.
Related Issues (20)
- panic when delve process is stopped HOT 1
- support for Termux debugger with the Android
- How build arm version HOT 1
- Support `dlv types` from DAP (the same way `types` is supported in the command line `dlv` REPL)
- polish go1.23 range-over-func UX HOT 1
- Does delve ignore // line instructions during debug HOT 1
- Breakpoints do not work in packages with a TestMain(*testing.M) function HOT 1
- Unable to print a package string const value during a breakpoint HOT 1
- Error clearing stack watchpoint HOT 2
- Add defer functions to follow-calls tracing option
- Breakpoint line numbers not matching HOT 1
- Hitting compile error when launching delve in devbox HOT 4
- `undefined behavior - version of Delve is too old for Go version 1.22.3 (maximum supported version 1.20)` HOT 2
- trace: allow tracing from (or skip tracing on) G-less threads
- panic when data length is greater than memCache size
- Unable to find escape variables when using Delve HOT 7
- Fail to set watchpoint after clearing one of four HOT 3
- Dwarf parsing infinite loop causes OOM HOT 1
- Feature request: restart the current function HOT 6
- Seeing a warning that delve is too old for the latest Go version 1.22.5 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from delve.