Skip to content

Query and display TTD.Events object #861

@xusheng6

Description

@xusheng6
  1. Add API and implementation for querying @$curprocess.TTD.Events. Add a dumb base implementation in DebugAdapter and override it in the dbgeng TTD adapter to provide the actual implementation
  2. Add a new UI widget that is similar to the TTD.Calls/Memory widget. Suppose filtering event types
  3. Provide Python API access to the evetns

Docs

Description

TTD Event objects are used to give information about important events that happened during a time travel trace.

Properties
Property 	Description
Type 	Describes the type of event that happened. Possible values are: ThreadCreated, ThreadTerminated, ModuleLoaded, ModuleUnloaded, Exception

Children
Object 	Description
Position 	A position object that describes the position the event occurred.
Module* 	A module object containing information about the module that was loaded or unloaded.
Thread* 	A thread object containing information about the thread that was created or terminated.
Exception* 	An exception object containing information about the exception that was hit.

* - Existence of these child objects depends on the type of event

Description

TTD Module objects are used to give information about modules that were loaded and unloaded during a trace session.

Properties
Property 	Description
Name 	The name and path of the module.
Address 	The address where the module was loaded.
Size 	The size of the module in bytes.
Checksum 	The checksum of the module.
Timestamp 	The timestamp of the module.
Description

TTD Thread objects are used to give information about threads and their lifetime during a time travel trace.
Properties

Property 	Description
UniqueId 	A unique ID for the thread across the trace.
Id 	The TID of the thread.
Children
Object 	Description
LifeTime 	A TTD range object that describes the lifetime of the thread.
ActiveTime 	A TTD range object that describes the time the thread was active.
Description

TTD Exception objects are used to provide information about event exceptions that happened during a trace session.

Properties
Property 	Description
Type 	Describes the type of exception. Possible values are "Software" and "Hardware".
ProgramCounter 	The instruction where the exception was thrown.
Code 	The code of the exception.
Flags 	The exception flags.
RecordAddress 	Where in memory you can find the record of the exception.
Children
Object 	Description
Position 	A position object that describes the position the exception occurred.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions