SourcePawn::IPluginDebugInfo Class Reference

#include <sp_vm_api.h>

List of all members.


Detailed Description

Interface to managing a debug context at runtime.

Definition at line 23 of file sp_vm_api.h.

Public Member Functions

virtual int LookupFile (ucell_t addr, const char **filename)=0
 Given a code pointer, finds the file it is associated with.
virtual int LookupFunction (ucell_t addr, const char **name)=0
 Given a code pointer, finds the function it is associated with.
virtual int LookupLine (ucell_t addr, uint32_t *line)=0
 Given a code pointer, finds the line it is associated with.


Member Function Documentation

virtual int SourcePawn::IPluginDebugInfo::LookupFile ( ucell_t  addr,
const char **  filename 
) [pure virtual]

Given a code pointer, finds the file it is associated with.

Parameters:
addr Code address offset.
filename Pointer to store filename pointer in.

virtual int SourcePawn::IPluginDebugInfo::LookupFunction ( ucell_t  addr,
const char **  name 
) [pure virtual]

Given a code pointer, finds the function it is associated with.

Parameters:
addr Code address offset.
name Pointer to store function name pointer in.

virtual int SourcePawn::IPluginDebugInfo::LookupLine ( ucell_t  addr,
uint32_t *  line 
) [pure virtual]

Given a code pointer, finds the line it is associated with.

Parameters:
addr Code address offset.
line Pointer to store line number in.


The documentation for this class was generated from the following file:
Generated on Thu Jan 4 13:34:37 2007 for SourcePawn JIT by  doxygen 1.5.1-p1