FAQ

On Fri, Oct 5, 2012 at 3:14 PM, Sonia Hamilton wrote:

But as you'll see from my post I'm already setting a breakpoint
at ListenAndServe. Continuing from ListenAndServe wouldn't help as I want
to see what ListenAndServe is actually doing.
I mean, set a breakpoint at http.ListenAndServe, i.e.

b 'net/http.ListenAndServe'

PS: step is not very useful when debugging Go programs, because there are
lots of call
to the runtime, if you truly want to step into a call, you'd better place
at breakpoint at the
called function instead of stepping into that call.

--

Search Discussions

Discussion Posts

Previous

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 8 of 8 | next ›
Discussion Overview
groupgolang-nuts @
categoriesgo
postedOct 5, '12 at 3:54a
activeOct 5, '12 at 7:39a
posts8
users4
websitegolang.org

People

Translate

site design / logo © 2021 Grokbase