Reintroduce getFileLine for Console Modules

This commit is contained in:
Lukas Aldershaab 2023-09-27 21:23:06 +02:00 committed by Brian Roberts
parent 01cfa4a604
commit 27b6973da0
2 changed files with 2 additions and 1 deletions

View file

@ -24,6 +24,7 @@ namespace Con
ConsoleValue* argv, bool noCalls, StringTableEntry packageName,
S32 setFrame = -1) = 0;
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.
/// @param lineNumber The one based line number.

View file

@ -115,7 +115,7 @@ public:
bool setBreakpoint(U32 lineNumber) 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);