-
Notifications
You must be signed in to change notification settings - Fork 31
Set up the Debugging Environment for Qilin in IntelliJ IDEA
Dongjie He edited this page Mar 24, 2022
·
1 revision
- Pre-requisites
- Load as Gradle project
- Open Qilin's main class file
- Modify Run Configuration
- Debugging
- Install IntelliJ IDEA
- Clone the QiLin repository
# git clone https://github.com/QilinPTA/Qilin.git
-
File
-->Open
orProjects
-->Open
- If you encounter any problem, you may wish to refer to this link.
Let us assume that you want to debug xalan
(from DaCapo2018) under a specific context-insensitive pointer analysis. So you will provide the following arguments in the configuration dialog:
-pae
-pe
-clinit=ONFLY
-lcs
-mh
-pta=insens
-apppath
/home/hedj/Work/QiLinOfficial/artifact/benchmarks/dacapo2018/xalan.jar
-libpath
/home/hedj/Work/QiLinOfficial/artifact/benchmarks/dacapo2018/xalan-deps/
-reflectionlog
/home/hedj/Work/QiLinOfficial/artifact/benchmarks/dacapo2018/xalan-refl.log
-jre=/home/hedj/Work/QiLinOfficial/artifact/benchmarks/JREs/jre1.8.0_312/
The configuration dialog looks like this:
Now, everything is done. Let us debug the benchmark by checking the program state at line 49.
- Make a breakpoint on line 49.
- Click the
Debug
button on the right-top toolbar (or pressShift+F9
)