Root > Reference > Main routines

Main routines

Previous pageReturn to chapter overviewNext page   

IsEurekaLogInstalled

Indicates if EurekaLog was included in application

IsEurekaLogActive

Returns global EurekaLog's activation status

IsEurekaLogActiveInThread

Returns per-thread EurekaLog's activation status

SetEurekaLogState

Changes global EurekaLog activation status

SetEurekaLogStateInThread

Changes per-thread EurekaLog activation status

IsFreezeCheckInstalled

Indicate if freeze detection was initialized

IsFreezeCheckEnabled

Indicate if freeze detection is currently active

FreezeNotifyStillAlive

Lets EurekaLog know that your main thread is still working

IsMemLeaksInstalled

Indicate if EurekaLog's memory filter is installed

IsMemLeaksEnabled

Indicate if memory leaks checks are enabled

CurrentEurekaLogOptions

Returns EurekaLog's global options for current executable

ExceptionManager

Gives access to EurekaLog's global exception manager

LastBugID

Returns BugID of last exception in current thread

BuildBugReport

Builds bug report from exception information

AddCustomDataToBugReport

Adds static custom data to bug report

AddCustomWebField

Adds static data to web requests

ExceptionMessage

Retrieves error message for an exception

SetExceptionMessage

Sets or changes error message for an exception

HandleException

Handles a specific exception

StandardEurekaNotify

Handles a specific exception

ShowLastExceptionData

Handles last active exception (if any exists)

StandardEurekaError

Invokes EurekaLog without raising exception

ShowExpected

Shows expected exception

MarkExpected

Marks exception as expected exception

RaiseExpected

Raises expected exception

RaiseOuterException

Raises an exception and captures the current one

RaiseOuterExceptionExpected

Raises expected exception and captures the current one

IsExpected

Checks if exception is an expected exception

ResStringCleanupCache

Cleanups internal cache of loaded resource strings

MemWipeStack

Clears unused stack of the current thread

CheckHeap

Checks heap (dynamic memory) for consistency

DumpAllocationsToFile

Logs all allocated memory to file

BeginThreadEx

Spawns a separate thread of execution

EndThreadEx

Terminates the execution of a thread

NameThread

Names thread for debugging

ThreadData

Returns thread information (current thread only)

Exception2HRESULT

Converts an exception into HRESULT value to be returned from DLL

ELog

Creates a new log entry

DebugBreak

Causes a breakpoint exception to occur in the current process

CurrentAddress

Returns address of current code/instruction

ReturnAddress

Returns address of caller function

GetLocationInfo

Returns human-readable information about code location

GetLocationInfoStr

Returns human-readable information about code location

LocationToStr

Converts location information to a single line string

__LOCATION__

Returns human-readable description of the current code

__MODULE__

Returns executable module name of the current code

__UNIT__

Returns unit name of the current code

__FUNCTION__

Returns function or method name of the current code

__FILE__

Returns source file name of the current code

__LINE__

Returns line number of the current code

__initialize_security_cookie

Initializes a stack guard cookie

__security_check_cookie

Checks the stack for corruption caused by a buffer overflow

 

See also




Send feedback... Build date: 2026-03-31
Last edited: 2026-03-28
PRIVACY STATEMENT
The documentation team uses the feedback submitted to improve the EurekaLog documentation. We do not use your e-mail address for any other purpose. We will remove your e-mail address from our system after the issue you are reporting has been resolved. While we are working to resolve this issue, we may send you an e-mail message to request more information about your feedback. After the issues have been addressed, we may send you an email message to let you know that your feedback has been addressed.


Permanent link to this article: https://www.eurekalog.com/help/eurekalog/index_mainroutines