Count reports the total number of frames in this stacktrace. Count DOES NOT change as Next is called.
()
| 119 | // Count reports the total number of frames in this stacktrace. |
| 120 | // Count DOES NOT change as Next is called. |
| 121 | func (st *Stack) Count() int { |
| 122 | return len(st.pcs) |
| 123 | } |
| 124 | |
| 125 | // Next returns the next frame in the stack trace, |
| 126 | // and a boolean indicating whether there are more after it. |