History log of /seL4-l4v-master/l4v/lib/Apply_Debug.thy
Revision Date Author Comments
# a424d55e 09-Mar-2020 Gerwin Klein <gerwin.klein@data61.csiro.au>

licenses: convert license tags to SPDX


# 6b9d9d24 09-Jun-2018 Gerwin Klein <gerwin.klein@data61.csiro.au>

Isabelle2018: new "op x" syntax; now is "(x)"

(result of "isabelle update_op -m <dir>")


# b5cdf470 13-Jun-2018 Gerwin Klein <gerwin.klein@data61.csiro.au>

globally use session-qualified imports; add Lib session

Session-qualified imports will be required for Isabelle2018 and help clarify
the structure of sessions in the build tree.

This commit mainly adds a new set of sessions for lib/, including a Lib
session that includes most theories in lib/ and a few separate sessions for
parts that have dependencies beyond CParser or are separate AFP sessions.
The group "lib" collects all lib/ sessions.

As a consequence, other theories should use lib/ theories by session name,
not by path, which in turns means spec and proof sessions should also refer
to each other by session name, not path, to avoid duplicate theory errors in
theory merges later.


# cccb7033 05-Apr-2017 Daniel Matichuk <daniel.matichuk@data61.csiro.au>

lib/apply_debug: show protected subgoals

This overrides the default proof state printing function to also
show any subgoals which have been hidden (protected).

This makes proof states shown during apply_debug more
comprehensible.


# cbff0aa5 23-Feb-2017 Daniel Matichuk <daniel.matichuk@data61.csiro.au>

apply_debug: avoid hanging in batch mode


# 08a2bbf1 13-Feb-2017 Daniel Matichuk <daniel.matichuk@data61.csiro.au>

apply_debug: added "show_running" flag

Default behaviour now doesn't mark up the currently
running method - this seemed too confusing.


# be014b29 12-Feb-2017 Daniel Matichuk <daniel.matichuk@data61.csiro.au>

apply_debug: hilight calling method

Both the breakpoint and "calling" method from
the original expression are highlighted as the breakpoint.

Note jEdit doesn't seem to highlight across theories (buffers?)


# ced7e45a 12-Feb-2017 Daniel Matichuk <daniel.matichuk@data61.csiro.au>

apply_debug: use entity markup from Isabelle2016-1

This makes use of modern dynamic markup so that
clicking on a "continue" can show us the current
breakpoint without needed strange proof state print
hacks.


# 82d2d945 10-Feb-2017 Daniel Matichuk <daniel.matichuk@data61.csiro.au>

apply_debug: remove per-continue flags

The implementation here was too messy for such an
esoteric feature.


# 8ec025de 09-Feb-2017 Daniel Matichuk <daniel.matichuk@data61.csiro.au>

apply_debug: hack max_threads to avoid scheduling issues

I can't figure out how to keep the cleanup phase of the
Executions module while circumventing the scheduling limitation
imposed by max_threads.

This workaround just keeps max_threads high enough to schedule the threads needed
by all active apply_debug sessions.


# 8fdd5d3a 09-Feb-2017 Daniel Matichuk <daniel.matichuk@data61.csiro.au>

apply_debug: more robust fact binding for break method


# ebc81dd7 09-Feb-2017 Daniel Matichuk <daniel.matichuk@nicta.com.au>

apply_debug: fix match issue

add testing file


# b8858709 19-Dec-2016 Daniel Matichuk <daniel.matichuk@nicta.com.au>

apply_debug: make "break" syntax to capture tokens

This avoids mandatory "bounds" and lets break highlighting occur
inside of matches/eisbach methods


# 2d04efbb 19-Dec-2016 Daniel Matichuk <daniel.matichuk@nicta.com.au>

apply_debug: bind Eisbach context during break

This requires a few tricks, since this isn't readily available.


# 905f8e6f 18-Dec-2016 Daniel Matichuk <daniel.matichuk@nicta.com.au>

apply_debug: discard context modifications

Demotes "break" to a regular tactic, simplifying its integration with other tools


# c7860158 15-Dec-2016 Daniel Matichuk <daniel.matichuk@nicta.com.au>

apply_debug: avoid hacks in evaluation markup

Fixed issue where match was executed in closure state


# 2b94552d 14-Dec-2016 Daniel Matichuk <daniel.matichuk@nicta.com.au>

apply_debug: clear initial dependencies for trace


# 49d3f643 14-Dec-2016 Daniel Matichuk <daniel.matichuk@nicta.com.au>

apply_debug: allow tags/trace in either order


# 1c7f5cfe 14-Dec-2016 Daniel Matichuk <daniel.matichuk@nicta.com.au>

apply_debug: integrate apply_trace

New "trace" modifier lets you trace between continues


# 3fdbc1fb 13-Dec-2016 Daniel Matichuk <daniel.matichuk@nicta.com.au>

apply_debug: use one less thread

Naive use of futures/forking causes apply_debug to block if
not enough threads are available.


# 7250bd1a 13-Dec-2016 Daniel Matichuk <daniel.matichuk@nicta.com.au>

apply_debug: add "wp" breakpoint

Lift low-level wp tactic into context_tactic to support
breakpoints modifying context (i.e. wp set)


# f3d3162f 13-Dec-2016 Daniel Matichuk <daniel.matichuk@nicta.com.au>

apply_debug: cleanup test code


# 3d81f2ad 13-Dec-2016 Daniel Matichuk <daniel.matichuk@nicta.com.au>

apply_debug: allow per-continue tags


# 541f2899 12-Dec-2016 Daniel Matichuk <daniel.matichuk@nicta.com.au>

apply_debug: add method-based breakpoint filtering

Also fix breakpoint hilights to work when no subgoals are present


# e5c74668 12-Dec-2016 Daniel Matichuk <daniel.matichuk@nicta.com.au>

apply_debug: support break tags

Only trigger breakpoints based on active tags


# 3bc3581f 11-Dec-2016 Daniel Matichuk <daniel.matichuk@nicta.com.au>

apply_debug: hilight active breakpoint, cleanup

Inject a dummy print translation to guess which breakpoint is being looked at.


# 97c86194 07-Dec-2016 Daniel Matichuk <daniel.matichuk@nicta.com.au>

apply_debug: capture execution errors

- Avoid throwing exceptions on the proof thread, instead defer it to the final slot

- Manage current-method markup with extra thread, this properly clears on proof thread restarts


# 95742d05 06-Dec-2016 Daniel Matichuk <daniel.matichuk@nicta.com.au>

apply_debug: more synchronization issues

- Avoid starting the restart-managing thread until we have the first result.
- Fix accidental immediate restart.
- Better generational tracking to avoid stale threads manipulating the current
proof thread.


# 8a6350fa 05-Dec-2016 Daniel Matichuk <daniel.matichuk@nicta.com.au>

apply_debug: fix some synchronization issues

Generational tracking of tactic excursions and restarts
should block until previous results have been processed


# 21bd775b 05-Dec-2016 Daniel Matichuk <daniel.matichuk@nicta.com.au>

apply_debug: add support for method re-play

This allows for execution to restart and re-play up
to the current "continue", regardless of whether or not
the overall execution has moved past it.