Skip to content

GDB MetaModelica type inspection #10

@adeas31

Description

@adeas31

Short

MetaModelica data types are stored as C void pointers. They need to be cast/interpreted to make the raw data visible.
Basically call printAny from OMCompiler.

Target

  • Manually run OpenModelica Compiler with GDB, stop at a breakpoint and inspect the program variables.
  • For e.g. an array of records display what type the data has and what values, all the way down to the basic types (number, string, boolean)

Tasks

  • Convert C void pointer to MetaModelica data types.
  • Add unit test to: start gdb, run omc on some minimal example, stop at breakpoint, inspect variables.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions