mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-14 16:14:38 +00:00
Reintroduce getFileLine for Console Modules
This commit is contained in:
parent
01cfa4a604
commit
27b6973da0
2 changed files with 2 additions and 1 deletions
|
|
@ -24,6 +24,7 @@ namespace Con
|
||||||
ConsoleValue* argv, bool noCalls, StringTableEntry packageName,
|
ConsoleValue* argv, bool noCalls, StringTableEntry packageName,
|
||||||
S32 setFrame = -1) = 0;
|
S32 setFrame = -1) = 0;
|
||||||
virtual void findBreakLine(U32 ip, U32& line, U32& instruction) {}
|
virtual void findBreakLine(U32 ip, U32& line, U32& instruction) {}
|
||||||
|
virtual const char* getFileLine(U32 ip) { return ""; }
|
||||||
|
|
||||||
/// Returns the first breakable line or 0 if none was found.
|
/// Returns the first breakable line or 0 if none was found.
|
||||||
/// @param lineNumber The one based line number.
|
/// @param lineNumber The one based line number.
|
||||||
|
|
|
||||||
|
|
@ -115,7 +115,7 @@ public:
|
||||||
bool setBreakpoint(U32 lineNumber) override;
|
bool setBreakpoint(U32 lineNumber) override;
|
||||||
|
|
||||||
void findBreakLine(U32 ip, U32 &line, U32 &instruction) override;
|
void findBreakLine(U32 ip, U32 &line, U32 &instruction) override;
|
||||||
const char *getFileLine(U32 ip);
|
const char *getFileLine(U32 ip) override;
|
||||||
|
|
||||||
///
|
///
|
||||||
String getFunctionArgs(U32 offset);
|
String getFunctionArgs(U32 offset);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue