**Kirikiri Z / TJS2 Debugger**

** How to Use**

1. Launch **krkrdebg.exe**.
2. Select **Settings**, then **Project Settings**.
3. Configure the following:
* **Executable Path:** The full path to the attached **tvpwin32_dbg.exe**.
* **Arguments:** Enter `-debug`.
* **Project Folder:** The full path to the **data** folder (ex. `C:\krkr\debugger\data`).
* **Working Folder:** The execution directory (ex. `C:\krkr\debugger`).
* **Script Extensions:** The script extensions separated by spaces (ex. `.tjs`) (the "." is also required).


4. After configuring the above, TJS files will be listed on the left.
5. If you save the project via **File  Save As**, it will be easier to load next time.

* If `debugger.sdp` exists in the same directory, that configuration file will be loaded by default.
* If launched with the argument `-p filename.sdp`, that specific configuration file will be loaded.

Double-clicking a line containing an executable statement in files that are executed early on, such as `startup.tjs` or `Config.tjs`, will set a **breakpoint**.
(Breakpoints can be set on empty lines, but the program will not stop there.)

After setting them, running the program will cause it to stop at the breakpoints.
You can then continue execution using **Trace** or **Step**.

Even if you set a breakpoint during execution, it will not be reflected immediately.
It will take effect once you stop (pause) with a **Break** and then run it again.

Various paths are saved as relative paths within the configuration file.

---

**yUpdate Historyz**
2015/08/17 1.0.1.1: Replaced non-displayable characters with ; fixed a bug where characters could not be displayed in UTF-8.

---