US2014164843A1PendingUtilityA1

System, method and computer program product for debugging an assertion

52
Assignee: SALESFORCE COM INCPriority: Apr 1, 2010Filed: Feb 12, 2014Published: Jun 12, 2014
Est. expiryApr 1, 2030(~3.7 yrs left)· nominal 20-yr term from priority
G06F 11/362G06F 11/3656H04L 63/0823
52
PatentIndex Score
0
Cited by
0
References
0
Claims

Abstract

In accordance with embodiments, there are provided mechanisms and methods for debugging an assertion. These mechanisms and methods for debugging an assertion can enable improved interpretation and analysis of data validation results, more efficient development associated with data validation, etc.

Claims

exact text as granted — not AI-modified
1 . A computer program product embodied on a non-transitory computer readable medium, comprising:
 computer code for receiving an assertion at a debugger, wherein the assertion includes a name and authorization certificate;   computer code for debugging the assertion, utilizing the debugger, wherein the debugging includes validating the assertion by checking the name and the authorization certificate included in the assertion; and   computer code for returning results of the debugging including an indication of whether an error occurred during the validating of the assertion.   
     
     
         2 . The computer program product of  claim 1 , wherein the assertion includes a request to log a user into a system. 
     
     
         3 . The computer program product of  claim 1 , wherein the assertion is encoded utilizing Extensible Markup Language (XML). 
     
     
         4 . The computer program product of  claim 1 , wherein the debugger is installed on a multi-tenant on-demand database system. 
     
     
         5 . The computer program product of  claim 1 , wherein the computer program product is operable such that the assertion is received at the debugger if the assertion fails to be validated. 
     
     
         6 . The computer program product of  claim 5 , wherein the computer program product is operable such that the assertion is received at the debugger if one or more errors are detected during a validation of the assertion. 
     
     
         7 . The computer program product of  claim 1 , wherein the computer program product is operable such that the debugger intercepts the assertion. 
     
     
         8 . The computer program product of  claim 1 , wherein the computer program product is operable such that the assertion is cached before or after processing the assertion and is sent to the debugger if an issue is found while processing the assertion. 
     
     
         9 . The computer program product of  claim 8 , wherein the computer program product is operable such that the cached assertion is sent to the debugger in response to a user launching a debugger page. 
     
     
         10 . The computer program product of  claim 1 , wherein the computer program product is operable such that the assertion is input into the debugger utilizing a user interface (UI). 
     
     
         11 . The computer program product of  claim 10 , wherein the computer program product is operable such that text of the assertion is copied and pasted into a field of a UI page associated with the debugger, and is submitted to the debugger once a button is selected on the UI page. 
     
     
         12 . The computer program product of  claim 1 , wherein debugging the assertion includes monitoring the validation of the assertion by the debugger. 
     
     
         13 . The computer program product of  claim 12 , wherein the computer program product is operable such that the debugger records one or more errors that occur during the validation of the assertion. 
     
     
         14 . The computer program product of  claim 12 , wherein the computer program product is operable such that the debugging continues after an error is encountered during validation. 
     
     
         15 . The computer program product of  claim 14 , wherein the computer program product is operable such that overrides are used to continue running a validator even when an error is found. 
     
     
         16 . The computer program product of  claim 12 , wherein the computer program product is operable such that the results include results of every step of the validation that was monitored by the debugger, along with an indication of whether each step caused an error or was successful, depending on whether the validation passed or failed for that step. 
     
     
         17 . The computer program product of  claim 1 , wherein the results of the debugging include one or more translated error codes. 
     
     
         18 . A method, comprising:
 receiving an assertion at a debugger, wherein the assertion includes a name and authorization certificate;   debugging the assertion, utilizing the debugger, wherein the debugging includes validating the assertion by checking the name and the authorization certificate included in the assertion; and   returning results of the debugging including an indication of whether an error occurred during the validating of the assertion.   
     
     
         19 . An apparatus, comprising:
 a hardware processor for:
 receiving an assertion at a debugger, wherein the assertion includes a name and authorization certificate; 
 debugging the assertion, utilizing the debugger, wherein the debugging includes validating the assertion by checking the name and the authorization certificate included in the assertion; and 
 returning results of the debugging including an indication of whether a error occurred during the validating of the assertion. 
   
     
     
         20 . A method for transmitting code for use in a multi-tenant database system on a transmission medium, the method comprising:
 transmitting code for receiving an assertion at a debugger, wherein the assertion includes a name and authorization certificate;   transmitting code for debugging the assertion, utilizing the debugger, wherein the debugging includes validating the assertion by checking the name and the authorization certificate included in the assertion; and   transmitting code for returning results of the debugging including an indication of whether an error occurred during the validating of the assertion.   
     
     
         21 . The computer program product of  claim 1 , wherein the assertion is received at the debugger by a user:
 inputting the assertion into a field of a user interface, and   selecting a button on the user interface to submit the assertion to the debugger.   
     
     
         22 . The computer program product of  claim 1 , wherein debugging the assertion include determining whether the name is invalid. 
     
     
         23 . The computer program product of  claim 1 , wherein debugging the assertion include determining whether the authorization certificate is invalid. 
     
     
         24 . The computer program product of  claim 1 , wherein the results of the debugging may include one or more translated error codes, wherein the translated error codes are codes for errors discovered during the debugging that are translated into a natural language description. 
     
     
         25 . The computer program product of  claim 24 , wherein an error is discovered during the debugging when the authorization certificate is determined to be expired.

Cited by (0)

No later patents cite this yet.

References (0)

No backward citations on record.