haawatch.blogg.se

Dtsearch debugger
Dtsearch debugger




Log data is appended to the file if it already exists. This slows execution considerably but ensures that the log will survive a system crash. The log will be committed to disk after each line is written. (4) Use c:\log\debuglog.txt as the name of the log fileĮach line in the log will have include the time, in hundredths of a second, since the start of execution. (3) Set the permissions for c:\log to grant "Everyone" "Full Control" access (2) Right-click the c:\log folder in Windows Explorer and select "Permissions" (1) Create an empty folder with a simple name like c:\log For example, an ASP application running inside IIS may not be permitted to write to some folders. Note: Debug logging will not work if the process creating the log lacks write access to the folder containing the log file. To turn off debug logging, call SetDebugLogging with a blank LogName. The flags argument controls optional logging behavior. SetDebugLogging tells the dtSearch Engine to start recording a debug log in the specified file. SetDebugLogging(LogName as String, flags as Long)

dtsearch debugger

To enable debug logging in the dtSearch Engine, call the SetDebugLogging method of the Server object. Debug LoggingĭtSearch Engine can generate a debug log that provides detailed information about internal processing of an API call. Documentation on the meaning of the error codes appears in the "Error Codes" topic in the dtSearch Engine help file (dtengine.chm).

dtsearch debugger

After a Job has been executed, the Errors property of the job will contain a JobErrorInfo that provides the text and error codes of each error that occurred.

dtsearch debugger

Most of the dtSearch Engine's API functions involve a "Job" structure of some type (a SearchJob, an IndexJob, etc.). These include: (1) detailed error reporting through the dtsErrorInfo structure, (2) debug logging to a text file, and (3) generation of a stack trace when a program crashes.

dtsearch debugger

The dtSearch Text Retrieval Engine includes several diagnostic tools to help isolate problems that arise during execution of a program.






Dtsearch debugger