Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ginkgo + GDB #30

Closed
webdev opened this issue Jan 29, 2014 · 3 comments
Closed

Ginkgo + GDB #30

webdev opened this issue Jan 29, 2014 · 3 comments

Comments

@webdev
Copy link

webdev commented Jan 29, 2014

Is there a mechanism within Gingko that would allow me GDB like debugging?

Please advise.

@onsi
Copy link
Owner

onsi commented Jan 29, 2014

no, there isn't. but the Ginkgo CLI is simply using go test under the hood
you could run go test -c to compile your test package and then look through http://golang.org/doc/gdb for more details about how to debug running code.

fwiw i've gotten plenty of mileage with fmt.Println() ;)

@webdev
Copy link
Author

webdev commented Jan 29, 2014

Yeah, that's what I have been doing, and fmt.Printf() is good, but not great :)

Walking through frames would be awesome though

@onsi
Copy link
Owner

onsi commented Mar 31, 2014

I'm going to close this as GDB isn't anywhere on the horizon (and I don't think it's particularly Ginkgo-specific).

@onsi onsi closed this as completed Mar 31, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants