Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 8.3   8.4   8.5   9.0   9.1   9.2   9.3   9.4   9.5   10.0    Statistic  


Sets whether times are included in debug log.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
CURL 6.2 Yes Yes Yes Yes Yes
MBS( "CURL.SetDebugWithTime"; curl; Value )   More


Parameter Description Example value
curl The CURL session handle. $curl
Value Pass 1 to include times or 0 to not include them. 1


Returns OK or error.


Sets whether times are included in debug log.
This allows you to monitor what happens when.
e.g. see if login takes 10 seconds instead of 0.1.
Default is off.

This must be set before you call CURL.Perform function.


Load text and log with times:

#Start new session
Set Variable [$curl; Value:MBS("CURL.New")]
#Set URL to load (HTTP, HTTPS, FTP, FTPS, SFTP, etc.)
Set Variable [$result; Value:MBS("CURL.SetOptionURL"; $curl; CURL Test::URL)]
#RUN now
Set Field [CURL Test::Result; MBS("CURL.SetDebugWithTime"; $curl; 1)]
Set Field [CURL Test::Result; MBS("CURL.Perform"; $curl)]
#Check result
Set Field [CURL Test::Text; MBS("CURL.GetResultAsText"; $curl; "UTF8")]
Set Field [CURL Test::header; MBS("CURL.GetHeaderAsText"; $curl)]
Set Field [CURL Test::debug; MBS("CURL.GetDebugAsText"; $curl)]
Set Variable [$result; Value:MBS("CURL.Cleanup"; $curl)]

See also

Example Databases

Blog Entries

Created 14th May 2016, last changed 28th November 2019

CURL.SetDebugWithProgress   -   CURL.SetFinishedEvaluate

Feedback: Report problem or ask question.

MBS Xojo Plugins