This class holds break point information (return value of the debugger.Breakpoint.Information function).
[Type]
class BreakpointInfo:
Number = 0
Name = None
Enable = True
BreakType = BreakType.Hardware
Address1 = None
Address2 = None
Address3 = None
Address4 = None
|
[Variable]
|
|
Number
|
This holds the event number.
|
Name
|
This holds the name of the break point.
|
Enable
|
This holds whether the break point is enabled or not.
True: Enabled
False: Disabled
|
BreakType
|
This holds the break type.
|
|
|
BreakType.Software
|
Software break (except a simulator)
|
BreakType.Hardware
|
Hardware break
|
BreakType.Read
|
Data read break
|
BreakType.Write
|
Data write break
|
Address1
|
This holds address information 1 as a string.
|
Address2
|
This holds address information 2 as a string (Only for combined breaks).
|
Address3
|
This holds address information 3 as a string (Only for combined breaks).
|
Address4
|
This holds address information 4 as a string (Only for combined breaks).
|
[Detailed description]
[Example of use]
>>>info = debugger.Breakpoint.Information()
1 Break0001 Enable test1.c#_main+2
2 Break0002 Disable test2.c#_sub4+10
>>>print info[0].Number
1
>>>print info[0].Name
Break0001
>>>print info[0].BreakType
Hardware
>>>print info[0].Enable
True
>>>print info[0].Address1
test1.c#_main+2
>>>print info[0].Address2
None
>>>print info[1].Number
2
>>>print info[1].Name
Break0002
>>>print info[1].BreakType
Hardware
>>>print info[1].Enable
False
>>>print info[1].Address1
test2.c#_sub4+10
>>>print info[1].Address2
None
>>>
|