debugger.PseudoError.SetGo
|
This function sets conditions of a pseudo-error and runs a program. [RH850][E1/E2/E20/Full-spec emulator/IE850A]
[Specification format]
debugger.PseudoError.SetGo(PseudoErrorCondition[], runOption = RunOption.Normal)
|
[Argument(s)]
|
|
PseudoErrorCondition[]
|
Specify conditions of a pseudo-error as a list.
See the PseudoErrorCondition class for details.
|
runOption
|
Specify whether to wait until the program stops.
|
|
|
RunOption.WaitBreak
|
Wait until the program stops.
|
RunOption.Normal
|
Do not wait until the program stops (default).
|
[Return value]
If pseudo-error conditions were set and the program was executed successfully: True
If there was an error when setting pseudo-error conditions and executing the program: False
[Detailed description]
- | This function sets conditions of a pseudo-error and runs a program according to the contents specified with PseudoErrorCondition[]. |
[Example of use]
>>>pe = PseudoErrorCondition()
>>>pe.Name = "ECC_DTS_2Bit"
>>>pe1 = PseudoErrorCondition()
>>>pe1.BitName = "ECMPE023"
>>>pe1.BreakAddress = [0x2000, "main]
>>>debugger.PseudoError.SetGo([pe, pe1])
True
>>>
|
Caution | If both Name and BitName are set as conditions of a pseudo-error, Name is given priority and BitName is ignored. |
注意 | 疑似エラー条件にNameとBitNameの両方を指定した場合は,Nameが優先され,BitNameは無視されます。 |