TC "Log Message" with "Code Expression"
SOLVED- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2022
08:51 AM
11-29-2022
08:51 AM
TC "Log Message" with "Code Expression"
Hi,
a log entry with Log.Message works very easy.
...
If (Project.Variables.ExtendedDebug = "true")Then Call Log.Message("Debug: " + Project.Variables.ExtendedDebug + ";" + "ProjectSuite.ConfigPath: " + ProjectSuite.ConfigPath + ";")
...
but if I use Log Message with "Code Expression" then only an empty line appears in the log.
Is this normal or do I have a thinking error?
Solved! Go to Solution.
Labels:
- Labels:
-
Debugging
5 REPLIES 5
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2022
10:00 AM
11-29-2022
10:00 AM
Works fine in the latest version of TC
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-30-2022
12:11 AM
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-30-2022
12:52 AM
11-30-2022
12:52 AM
After changing ExtendedDebug from String to Boolean, it still works
In your Operation Parameters, you've defined Attrib and Picture as Empty? What is Empty?
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-30-2022
12:04 PM
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-01-2022
02:18 AM
12-01-2022
02:18 AM
For VBScript, the syntax will be
"Debug: " & Project.Variables.ExtendedDebug & "; " & "ProjectSuite.ConfigPath: " & ProjectSuite.ConfigPath & ";"
Do not use +
