SourcePawn::IPluginDebugInfo Class Reference

Interface to managing a debug context at runtime. More...

#include <public/sourcepawn/sp_vm_api.h>

List of all members.

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.


Detailed Description

Interface to managing a debug context at runtime.

Definition at line 269 of file sp_vm_api.h.


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 Mar 5 14:05:28 2009 for SourceMod SDK by  doxygen 1.5.1