Debugging Best Practices Flashcards

1
Q

Where are the outputs from gs.debug(), gs.print(), gs.info(), and gs.log()?

A

These can be found in the Debug Log

System Diagnostics > Session Debug > Debug Log

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Which debug outputs are available in all scopes and which are not available in scoped applications?

A

gs. print() and gs.log() are not available in scoped applications
gs. debug() and gs.info work in all environments

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What does “Debug Business Rule” do?

A

System Diagnostics > Debug Business Rule displays messages about business rules. These messages indicate which business rules are being run and when they are started (==>), finished (<==), or skipped (===). If a business rule is skipped, the failed condition is displayed.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What does Debug Security Rules do?

A

System Security > Debug Security Rules places a debug icon on each field of a form. Point to the icon to see if there are any debug messages for the associated element. Click the icon to expand details about read and write access. This module is very helpful when you are using ACLs to control access to records and fields. The debug security rules have enhanced functionality, allowing you to view a context parameter.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

When you activate a server-side debugging module, it remains active until one of the following occurs:

A
  • You activate the Stop Debugging module, located in System Security.
  • You log out from the instance.
  • The session expires (for example, the session times out).
  • You close the browser.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly