debugger.Interrupt.Notification


This function sets exception cause codes whose notification is accepted. [RH850 Simulator]

[Specification format]

debugger.Interrupt.Notification(notificationMode = NotificationMode.Deny, code)

[Argument(s)]

Argument

Description

notificationMode

Specify the mode for accepting notification of exception cause codes.

The modes that can be specified are shown below.

Type

Description

NotificationMode.Deny

Deny notification of all exception cause codes (default).

NotificationMode.Allow

Allow notification of all exception cause codes.

code

Specify the list of exception cause codes whose notification is accepted (numerical value).

[Return value]

If exception cause codes were set successfully: True

If there was an error when setting exception cause codes: False

[Detailed description]

-

This function sets exception cause codes whose notification is accepted.

-

To accept notification of only specific exception cause codes, specify NotificationMode.Deny in notificationMode and specify the exception cause codes whose notification is accepted in code.
To deny notification of only specific exception cause codes, specify NotificationMode.Allow in notificationMode and specify the exception cause codes whose notification is denied in code.
When this function is used, all exception cause codes that have been previously set are discarded.

-

Define the processing to be performed after accepting a specified exception cause code in a hook function or callback function. See Hook for detail.

[Example of use]

>>>expcode = [0x00000020, 0x00000030, 0x00000050]
>>>debugger.Interrupt.Notification(NotificationMode.Deny, expcode)
True
>>>