The Wayback Machine - https://web.archive.org/web/20190329094236/https://github.com/JuliaDebug/ASTInterpreter2.jl
Skip to content
Re-write of ASTInterpreter for julia 0.6+
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
deps Generate src/builtins.jl at build time Jan 27, 2019
docs
src
test
.gitignore Add Documenter documentation Jan 27, 2019
.travis.yml
LICENSE.md
Manifest.toml checkout untagged test-deps in travis script Jan 27, 2019
Project.toml checkout untagged test-deps in travis script Jan 27, 2019
README.md
REQUIRE 0.7 updates (#29) Nov 22, 2018
appveyor.yml

README.md

ASTInterpreter2

Build Status codecov.io

NOTE: most of the recent development has moved to JuliaInterpreter.

Installation

using Pkg
]add ASTInterpreter2#master
]add DebuggerFramework#master

Usage

using ASTInterpreter2

function foo(n)
    x = n+1
    ((BigInt[1 1; 1 0])^x)[2,1]
end

@enter foo(20)

Basic Commands:

  • n steps to the next line
  • s steps into the next call
  • finish runs to the end of the function
  • bt shows a simple backtrace
  • `stuff runs stuff in the current frame's context
  • fr v will show all variables in the current frame
  • f n where n is an integer, will go to the n-th frame.

Advanced commands:

  • nc steps to the next call
  • ns steps to the next statement
  • se does one expression step
  • si does the same but steps into a call if a call is the next expression
  • sg steps into a generated function
  • shadow shows the internal representation of the expression tree (for debugger debugging only)
  • loc shows the column data for the current top frame, in the same format as JuliaParsers's testshell.

This is a prototype, do not expect it to be correct or usable.

You can’t perform that action at this time.