MCPcopy Index your code
hub / github.com/dispatchrun/wzprof / Next

Method Next

python.go:190–203  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

188}
189
190func (p *pystackiter) Next() bool {
191 if !p.started {
192 p.started = true
193 return p.framep != 0
194 }
195
196 oldframe := p.framep
197 p.framep = deref[ptr32](p.mem, p.framep+padPreviousInFrame)
198 if oldframe == p.framep {
199 p.framep = 0
200 return false
201 }
202 return p.framep != 0
203}
204
205func (p *pystackiter) ProgramCounter() experimental.ProgramCounter {
206 return experimental.ProgramCounter(deref[uint32](p.mem, p.framep+padPrevInstrInFrame))

Callers 8

ParseMethod · 0.45
parseAnyMethod · 0.45
parseSubprogramMethod · 0.45
LocationsMethod · 0.45
namesForSubprogramMethod · 0.45
supportedPythonFunction · 0.45
pythonAddressFunction · 0.45
makeStackTraceFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected