mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2025-06-30 22:17:13 +02:00
Include code line in runtime debug.
Include the line of code where the error occured into the debug message. Further adjustments to the oeverall implementation.
This commit is contained in:
@ -958,13 +958,18 @@ public:
|
||||
void SetIncomingName(CSStr name);
|
||||
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* retrieve the name for the currently assigned incoming connection..
|
||||
* Retrieve the name for the currently assigned incoming connection.
|
||||
*/
|
||||
CSStr GetIncomingName()
|
||||
{
|
||||
return (!m_IncomingNameBuffer) ? _SC("") : m_IncomingNameBuffer;
|
||||
}
|
||||
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
* Retrieves a line of code from a certain source.
|
||||
*/
|
||||
String FetchCodeLine(CSStr src, SQInteger line, bool trim = true);
|
||||
|
||||
protected:
|
||||
|
||||
/* --------------------------------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user