Show / Hide Table of Contents

    ShowMessageIfDebugFlagActive Procedure

    Codeunit Debug Single Instance

    Shows a blocking message to the user if the Debug Flag is active.

    The user can choose to stop the running function by selecting cancel in the shown confirm message.

    Overloads

    Name Description
    ShowMessageIfDebugFlagActive(Text[100]; Codeunit "QWETB Temp Blob"; Boolean) Shows a blocking message to the user if the Debug Flag is active.
    ShowMessageIfDebugFlagActive(Text[100]; Codeunit "QWETB Temp Blob"; Boolean; Boolean) Shows a blocking message to the user if the Debug Flag is active.
    ShowMessageIfDebugFlagActive(Text[100]; Text) Shows a blocking message to the user if the Debug Flag is active.
    ShowMessageIfDebugFlagActive(Text[100]; Text; Boolean) Shows a blocking message to the user if the Debug Flag is active.
    ShowMessageIfDebugFlagActive(Text[100]; Text; Boolean; Boolean) Shows a blocking message to the user if the Debug Flag is active.
    ShowMessageIfDebugFlagActive(Text[100]; Text; Boolean; Variant) Shows a blocking message to the user if the Debug Flag is active.
    ShowMessageIfDebugFlagActive(Text[100]; Text; Boolean; Variant; Variant) Shows a blocking message to the user if the Debug Flag is active.
    ShowMessageIfDebugFlagActive(Text[100]; Text; Boolean; Variant; Variant; Variant) Shows a blocking message to the user if the Debug Flag is active.
    ShowMessageIfDebugFlagActive(Text[100]; Text; Boolean; Variant; Variant; Variant; Variant) Shows a blocking message to the user if the Debug Flag is active.
    ShowMessageIfDebugFlagActive(Text[100]; Text; Codeunit "QWETB Temp Blob"; Boolean; Boolean) Shows a blocking message to the user if the Debug Flag is active.
    ShowMessageIfDebugFlagActive(Text[100]; Text; Text; Boolean; Boolean) Shows a blocking message to the user if the Debug Flag is active.
    ShowMessageIfDebugFlagActive(Text[100]; Text; Variant) Shows a blocking message to the user if the Debug Flag is active.
    ShowMessageIfDebugFlagActive(Text[100]; Text; Variant; Variant) Shows a blocking message to the user if the Debug Flag is active.
    ShowMessageIfDebugFlagActive(Text[100]; Text; Variant; Variant; Variant) Shows a blocking message to the user if the Debug Flag is active.
    ShowMessageIfDebugFlagActive(Text[100]; Text; Variant; Variant; Variant; Variant) Shows a blocking message to the user if the Debug Flag is active.
    ShowMessageIfDebugFlagActive(Text[100]; Record "QWETB tTempBlob" temporary; Boolean) Shows a blocking message to the user if the Debug Flag is active.
    ShowMessageIfDebugFlagActive(Text[100]; Record "QWETB tTempBlob" temporary; Boolean; Boolean) Shows a blocking message to the user if the Debug Flag is active.
    ShowMessageIfDebugFlagActive(Text[100]; Text; Record "QWETB tTempBlob" temporary; Boolean; Boolean) Shows a blocking message to the user if the Debug Flag is active.

    ShowMessageIfDebugFlagActive(Text[100]; Codeunit "QWETB Temp Blob"; Boolean) Procedure

    Shows a blocking message to the user if the Debug Flag is active.

    The user can choose to stop the running function by selecting cancel in the shown confirm message.

    Signature

    [NonDebuggable]
    ShowMessageIfDebugFlagActive(DebugFlag: Text[100]; TempBlob: Codeunit "QWETB Temp Blob"; ReplaceNewLineCharacter: Boolean)
    

    Parameters

    DebugFlag Text[100]

    The name of the Debug Flag that needs to be active to show the message.

    TempBlob Codeunit "QWETB Temp Blob"

    The message to show, in the form of a blob. The message is limited to 10000000 characters, messages with more than 10000000 characters will be cut.

    ReplaceNewLineCharacter Boolean

    The "new line character" (\) will be replaced with new line if set to true, otherwise \ will be printed as-is.

    ShowMessageIfDebugFlagActive(Text[100]; Codeunit "QWETB Temp Blob"; Boolean; Boolean) Procedure

    Shows a blocking message to the user if the Debug Flag is active.

    The user can choose to stop the running function by selecting cancel in the shown confirm message.

    Signature

    [NonDebuggable]
    ShowMessageIfDebugFlagActive(DebugFlag: Text[100]; TempBlob: Codeunit "QWETB Temp Blob"; ReplaceNewLineCharacter: Boolean; Forced: Boolean)
    

    Parameters

    DebugFlag Text[100]

    The name of the Debug Flag that needs to be active to show the message.

    TempBlob Codeunit "QWETB Temp Blob"

    The message to show, in the form of a blob. The message is limited to 10000000 characters, messages with more than 10000000 characters will be cut.

    ReplaceNewLineCharacter Boolean

    The "new line character" (\) will be replaced with new line if set to true, otherwise \ will be printed as-is.

    Forced Boolean

    If true, the message will always be shown, even if the "Debug Flag" specified in DebugFlag is inactive.

    ShowMessageIfDebugFlagActive(Text[100]; Text) Procedure

    Shows a blocking message to the user if the Debug Flag is active.

    The user can choose to stop the running function by selecting cancel in the shown confirm message.

    Signature

    [NonDebuggable]
    ShowMessageIfDebugFlagActive(DebugFlag: Text[100]; DebugMessage: Text)
    

    Parameters

    DebugFlag Text[100]

    The name of the Debug Flag that needs to be active to show the message.

    DebugMessage Text

    The message to show.

    ShowMessageIfDebugFlagActive(Text[100]; Text; Boolean) Procedure

    Shows a blocking message to the user if the Debug Flag is active.

    The user can choose to stop the running function by selecting cancel in the shown confirm message.

    Signature

    [NonDebuggable]
    ShowMessageIfDebugFlagActive(DebugFlag: Text[100]; DebugMessage: Text; ReplaceNewLineCharacter: Boolean)
    

    Parameters

    DebugFlag Text[100]

    The name of the Debug Flag that needs to be active to show the message.

    DebugMessage Text

    The message to show.

    ReplaceNewLineCharacter Boolean

    The "new line character" (\) will be replaced with new line if set to true, otherwise \ will be printed as-is.

    ShowMessageIfDebugFlagActive(Text[100]; Text; Boolean; Boolean) Procedure

    Shows a blocking message to the user if the Debug Flag is active.

    The user can choose to stop the running function by selecting cancel in the shown confirm message.

    Signature

    [NonDebuggable]
    ShowMessageIfDebugFlagActive(DebugFlag: Text[100]; DebugMessage: Text; ReplaceNewLineCharacter: Boolean; Forced: Boolean)
    

    Parameters

    DebugFlag Text[100]

    The name of the Debug Flag that needs to be active to show the message.

    DebugMessage Text

    The message to show.

    ReplaceNewLineCharacter Boolean

    The "new line character" (\) will be replaced with new line if set to true, otherwise \ will be printed as-is.

    Forced Boolean

    If true, the message will always be shown, even if the "Debug Flag" specified in DebugFlag is inactive.

    ShowMessageIfDebugFlagActive(Text[100]; Text; Boolean; Variant) Procedure

    Shows a blocking message to the user if the Debug Flag is active.

    The user can choose to stop the running function by selecting cancel in the shown confirm message.

    Signature

    [NonDebuggable]
    ShowMessageIfDebugFlagActive(DebugFlag: Text[100]; DebugMessage: Text; ReplaceNewLineCharacter: Boolean; Parameter1: Variant)
    

    Parameters

    DebugFlag Text[100]

    The name of the Debug Flag that needs to be active to show the message.

    DebugMessage Text

    The message pattern to show. Placeholder %1 is substituted with Parameter1.

    ReplaceNewLineCharacter Boolean

    The "new line character" (\) will be replaced with new line if set to true, otherwise \ will be printed as-is.

    Parameter1 Variant

    Value that substitutes %1 in DebugMessage.

    ShowMessageIfDebugFlagActive(Text[100]; Text; Boolean; Variant; Variant) Procedure

    Shows a blocking message to the user if the Debug Flag is active.

    The user can choose to stop the running function by selecting cancel in the shown confirm message.

    Signature

    [NonDebuggable]
    ShowMessageIfDebugFlagActive(DebugFlag: Text[100]; DebugMessage: Text; ReplaceNewLineCharacter: Boolean; Parameter1: Variant; Parameter2: Variant)
    

    Parameters

    DebugFlag Text[100]

    The name of the Debug Flag that needs to be active to show the message.

    DebugMessage Text

    The message pattern to show. Placeholders (%1 .. %2) are substituted with the supplied parameters.

    ReplaceNewLineCharacter Boolean

    The "new line character" (\) will be replaced with new line if set to true, otherwise \ will be printed as-is.

    Parameter1 Variant

    Value that substitutes %1 in DebugMessage.

    Parameter2 Variant

    Value that substitutes %2 in DebugMessage.

    ShowMessageIfDebugFlagActive(Text[100]; Text; Boolean; Variant; Variant; Variant) Procedure

    Shows a blocking message to the user if the Debug Flag is active.

    The user can choose to stop the running function by selecting cancel in the shown confirm message.

    Signature

    [NonDebuggable]
    ShowMessageIfDebugFlagActive(DebugFlag: Text[100]; DebugMessage: Text; ReplaceNewLineCharacter: Boolean; Parameter1: Variant; Parameter2: Variant; Parameter3: Variant)
    

    Parameters

    DebugFlag Text[100]

    The name of the Debug Flag that needs to be active to show the message.

    DebugMessage Text

    The message pattern to show. Placeholders (%1 .. %3) are substituted with the supplied parameters.

    ReplaceNewLineCharacter Boolean

    The "new line character" (\) will be replaced with new line if set to true, otherwise \ will be printed as-is.

    Parameter1 Variant

    Value that substitutes %1 in DebugMessage.

    Parameter2 Variant

    Value that substitutes %2 in DebugMessage.

    Parameter3 Variant

    Value that substitutes %3 in DebugMessage.

    ShowMessageIfDebugFlagActive(Text[100]; Text; Boolean; Variant; Variant; Variant; Variant) Procedure

    Shows a blocking message to the user if the Debug Flag is active.

    The user can choose to stop the running function by selecting cancel in the shown confirm message.

    Signature

    [NonDebuggable]
    ShowMessageIfDebugFlagActive(DebugFlag: Text[100]; DebugMessage: Text; ReplaceNewLineCharacter: Boolean; Parameter1: Variant; Parameter2: Variant; Parameter3: Variant; Parameter4: Variant)
    

    Parameters

    DebugFlag Text[100]

    The name of the Debug Flag that needs to be active to show the message.

    DebugMessage Text

    The message pattern to show. Placeholders (%1 .. %4) are substituted with the supplied parameters.

    ReplaceNewLineCharacter Boolean

    The "new line character" (\) will be replaced with new line if set to true, otherwise \ will be printed as-is.

    Parameter1 Variant

    Value that substitutes %1 in DebugMessage.

    Parameter2 Variant

    Value that substitutes %2 in DebugMessage.

    Parameter3 Variant

    Value that substitutes %3 in DebugMessage.

    Parameter4 Variant

    Value that substitutes %4 in DebugMessage.

    ShowMessageIfDebugFlagActive(Text[100]; Text; Codeunit "QWETB Temp Blob"; Boolean; Boolean) Procedure

    Shows a blocking message to the user if the Debug Flag is active.

    The user can choose to stop the running function by selecting cancel in the shown confirm message.

    Signature

    [NonDebuggable]
    ShowMessageIfDebugFlagActive(DebugFlag: Text[100]; DebugHeader: Text; TempBlob: Codeunit "QWETB Temp Blob"; ReplaceNewLineCharacter: Boolean; Forced: Boolean)
    

    Parameters

    DebugFlag Text[100]

    The name of the Debug Flag that needs to be active to show the message.

    DebugHeader Text

    A header for the message, used instead of the name of the Debug Flag.

    TempBlob Codeunit "QWETB Temp Blob"

    The message to show, in the form of a blob. The message is limited to 10000000 characters, messages with more than 10000000 characters will be cut.

    ReplaceNewLineCharacter Boolean

    The "new line character" (\) will be replaced with new line if set to true, otherwise \ will be printed as-is.

    Forced Boolean

    If true, the message will always be shown, even if the "Debug Flag" specified in DebugFlag is inactive.

    ShowMessageIfDebugFlagActive(Text[100]; Text; Text; Boolean; Boolean) Procedure

    Shows a blocking message to the user if the Debug Flag is active.

    The user can choose to stop the running function by selecting cancel in the shown confirm message.

    Signature

    [NonDebuggable]
    ShowMessageIfDebugFlagActive(DebugFlag: Text[100]; DebugHeader: Text; DebugMessage: Text; ReplaceNewLineCharacter: Boolean; Forced: Boolean)
    

    Parameters

    DebugFlag Text[100]

    The name of the Debug Flag that needs to be active to show the message.

    DebugHeader Text

    A header for the message, used instead of the name of the Debug Flag.

    DebugMessage Text

    The message to show.

    ReplaceNewLineCharacter Boolean

    The "new line character" (\) will be replaced with new line if set to true, otherwise \ will be printed as-is.

    Forced Boolean

    If true, the message will always be shown, even if the "Debug Flag" specified in DebugFlag is inactive.

    ShowMessageIfDebugFlagActive(Text[100]; Text; Variant) Procedure

    Shows a blocking message to the user if the Debug Flag is active.

    The user can choose to stop the running function by selecting cancel in the shown confirm message.

    Signature

    [NonDebuggable]
    ShowMessageIfDebugFlagActive(DebugFlag: Text[100]; DebugMessage: Text; Parameter1: Variant)
    

    Parameters

    DebugFlag Text[100]

    The name of the Debug Flag that needs to be active to show the message.

    DebugMessage Text

    The message pattern to show. Placeholder %1 is substituted with Parameter1.

    Parameter1 Variant

    Value that substitutes %1 in DebugMessage.

    ShowMessageIfDebugFlagActive(Text[100]; Text; Variant; Variant) Procedure

    Shows a blocking message to the user if the Debug Flag is active.

    The user can choose to stop the running function by selecting cancel in the shown confirm message.

    Signature

    [NonDebuggable]
    ShowMessageIfDebugFlagActive(DebugFlag: Text[100]; DebugMessage: Text; Parameter1: Variant; Parameter2: Variant)
    

    Parameters

    DebugFlag Text[100]

    The name of the Debug Flag that needs to be active to show the message.

    DebugMessage Text

    The message pattern to show. Placeholders (%1 .. %2) are substituted with the supplied parameters.

    Parameter1 Variant

    Value that substitutes %1 in DebugMessage.

    Parameter2 Variant

    Value that substitutes %2 in DebugMessage.

    ShowMessageIfDebugFlagActive(Text[100]; Text; Variant; Variant; Variant) Procedure

    Shows a blocking message to the user if the Debug Flag is active.

    The user can choose to stop the running function by selecting cancel in the shown confirm message.

    Signature

    [NonDebuggable]
    ShowMessageIfDebugFlagActive(DebugFlag: Text[100]; DebugMessage: Text; Parameter1: Variant; Parameter2: Variant; Parameter3: Variant)
    

    Parameters

    DebugFlag Text[100]

    The name of the Debug Flag that needs to be active to show the message.

    DebugMessage Text

    The message pattern to show. Placeholders (%1 .. %3) are substituted with the supplied parameters.

    Parameter1 Variant

    Value that substitutes %1 in DebugMessage.

    Parameter2 Variant

    Value that substitutes %2 in DebugMessage.

    Parameter3 Variant

    Value that substitutes %3 in DebugMessage.

    ShowMessageIfDebugFlagActive(Text[100]; Text; Variant; Variant; Variant; Variant) Procedure

    Shows a blocking message to the user if the Debug Flag is active.

    The user can choose to stop the running function by selecting cancel in the shown confirm message.

    Signature

    [NonDebuggable]
    ShowMessageIfDebugFlagActive(DebugFlag: Text[100]; DebugMessage: Text; Parameter1: Variant; Parameter2: Variant; Parameter3: Variant; Parameter4: Variant)
    

    Parameters

    DebugFlag Text[100]

    The name of the Debug Flag that needs to be active to show the message.

    DebugMessage Text

    The message pattern to show. Placeholders (%1 .. %4) are substituted with the supplied parameters.

    Parameter1 Variant

    Value that substitutes %1 in DebugMessage.

    Parameter2 Variant

    Value that substitutes %2 in DebugMessage.

    Parameter3 Variant

    Value that substitutes %3 in DebugMessage.

    Parameter4 Variant

    Value that substitutes %4 in DebugMessage.

    ShowMessageIfDebugFlagActive(Text[100]; Record "QWETB tTempBlob" temporary; Boolean) Procedure

    Shows a blocking message to the user if the Debug Flag is active.

    The user can choose to stop the running function by selecting cancel in the shown confirm message.

    Deprecated

    This procedure is deprecated and should not be used.

    Reason: Use the overload that takes Codeunit "QWETB Temp Blob" instead. It offers better performance.
    Deprecated since: 27.0

    Signature

    [Obsolete('Use the overload that takes Codeunit "QWETB Temp Blob" instead. It offers better performance.', '27.0')]
    [NonDebuggable]
    ShowMessageIfDebugFlagActive(DebugFlag: Text[100]; var tTempBlob: Record "QWETB tTempBlob" temporary; ReplaceNewLineCharacter: Boolean)
    

    Parameters

    DebugFlag Text[100]

    The name of the Debug Flag that needs to be active to show the message.

    var tTempBlob Record "QWETB tTempBlob" temporary

    The message to show, in the form of a blob. The message is limited to 10000000 characters, messages with more than 10000000 characters will be cut.

    ReplaceNewLineCharacter Boolean

    The "new line character" (\) will be replaced with new line if set to true, otherwise \ will be printed as-is.

    ShowMessageIfDebugFlagActive(Text[100]; Record "QWETB tTempBlob" temporary; Boolean; Boolean) Procedure

    Shows a blocking message to the user if the Debug Flag is active.

    The user can choose to stop the running function by selecting cancel in the shown confirm message.

    Deprecated

    This procedure is deprecated and should not be used.

    Reason: Use the overload that takes Codeunit "QWETB Temp Blob" instead. It offers better performance.
    Deprecated since: 27.0

    Signature

    [Obsolete('Use the overload that takes Codeunit "QWETB Temp Blob" instead. It offers better performance.', '27.0')]
    [NonDebuggable]
    ShowMessageIfDebugFlagActive(DebugFlag: Text[100]; var tTempBlob: Record "QWETB tTempBlob" temporary; ReplaceNewLineCharacter: Boolean; Forced: Boolean)
    

    Parameters

    DebugFlag Text[100]

    The name of the Debug Flag that needs to be active to show the message.

    var tTempBlob Record "QWETB tTempBlob" temporary

    The message to show, in the form of a blob. The message is limited to 10000000 characters, messages with more than 10000000 characters will be cut.

    ReplaceNewLineCharacter Boolean

    The "new line character" (\) will be replaced with new line if set to true, otherwise \ will be printed as-is.

    Forced Boolean

    If true, the message will always be shown, even if the "Debug Flag" specified in DebugFlag is inactive.

    ShowMessageIfDebugFlagActive(Text[100]; Text; Record "QWETB tTempBlob" temporary; Boolean; Boolean) Procedure

    Shows a blocking message to the user if the Debug Flag is active.

    The user can choose to stop the running function by selecting cancel in the shown confirm message.

    Deprecated

    This procedure is deprecated and should not be used.

    Reason: Use the overload that takes Codeunit "QWETB Temp Blob" instead. It offers better performance.
    Deprecated since: 27.0

    Signature

    [Obsolete('Use the overload that takes Codeunit "QWETB Temp Blob" instead. It offers better performance.', '27.0')]
    [NonDebuggable]
    ShowMessageIfDebugFlagActive(DebugFlag: Text[100]; DebugHeader: Text; var tTempBlob: Record "QWETB tTempBlob" temporary; ReplaceNewLineCharacter: Boolean; Forced: Boolean)
    

    Parameters

    DebugFlag Text[100]

    The name of the Debug Flag that needs to be active to show the message.

    DebugHeader Text

    A header for the message, used instead of the name of the Debug Flag.

    var tTempBlob Record "QWETB tTempBlob" temporary

    The message to show, in the form of a blob. The message is limited to 10000000 characters, messages with more than 10000000 characters will be cut.

    ReplaceNewLineCharacter Boolean

    The "new line character" (\) will be replaced with new line if set to true, otherwise \ will be printed as-is.

    Forced Boolean

    If true, the message will always be shown, even if the "Debug Flag" specified in DebugFlag is inactive.

    This documentation is generated from Smart Toolbox v27.0

    Back to top Copyright © 2020 SmartApps
    Generated by DocFX