Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support of Simulation #19

Open
wadoon opened this issue May 2, 2017 · 2 comments
Open

Support of Simulation #19

wadoon opened this issue May 2, 2017 · 2 comments

Comments

@wadoon
Copy link
Member

wadoon commented May 2, 2017

requested by @mattulbrich

An interactive debugger for Structured Text and generalized test tables.

@csicar
Copy link
Collaborator

csicar commented Jun 22, 2017

support the Operations:

  • ST-Statement-Step-Into (Step-Over, etc. can be

  • SPS-Cycle

  • Result of SPS-Cycle-Sumulation is the same as a concrete Table (with added internal State of the SPS)

Breakpoints are not needed since we will store the entire state)

@mattulbrich
Copy link
Contributor

Simulation techonolgy

  • Interpretation of ST code with concrete values.
  • Output is a computation sequence which captures all intermediate points of a cycle execution. An element of the sequences comprises:
    • pointer into program AST
    • variable assignment (state)
  • Interrupted interpretation / statementwise interpretation is not ncessary
  • How to deal with non-termination?

Debugging presentation

  • Given input stimuli (user-provided / concretiser) run the interpretater and store all steps.
  • The computation sequences can be but need not be stored since they can always be recovered.
  • Provide step-over, step-into, run-till, conditional breakpoints etc. which are essentially sophisticated searches in the data structures.

Concrete Table manipulation

  • Counter examples are a possible starting point
  • Concretisations are a possible starting point.
  • Constraints can override the content of any thus generated cell. (Concrete values or "real" constraints)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants