This repository contains everything you need to install debuging software for BI-PA or Progtest on FIT CVUT
How to install:
git clone https://github.com/bortkoP/easy-progtest-dbg.git
cd easy-progtest-dbg/
sudo ./install.sh
$ You are installing Easy progtest debuger
$ Type in editor you would like to use for creating datasets. (such as vim/nano)
Now choose your favourite text editor for creating datasets, you can also use something like xed with graphics
When everything is OK, you will see message:
$ Successfully installed on your computer, use with dbg -h, enjoy (by bortkoP)
That is it! You succesfully installed Easy progtest debuger from source!
How to uninstall:
git clone https://github.com/bortkoP/easy-progtest-dbg.git
cd easy-progtest-dbg/
sudo ./uninstall.sh
This will remove all created files except program congifs (.dbgconf files)
$ Successfully uninstalled!
Now you have uninstalled it!
How to use:
Go to directory where your main is, it is not necessary but it is recommanded, run the program with
dbg -t
This will test your program with sample data, which you have downloaded from progtest, you have to type in the directory where samples are and than where your program binary is.
When you are done, dbg will check it!
dbg -c
This will start creating datasets with higher numbers, for example, if your dataset number was 0001, it will create 0002,
next it will open editor which you have specified and is located in /home/user/.dbguserconf, you can change it anytime,
but make sure that editor that you typed in exist!
Next you type in _in data and then close editor _out data file will automatically be created, you can type them in too.
If everything is OK, you can exit or start over again and create another dataset.
dbg -r
This command will remove dataset which you can specify with number, if dataset name is 0002 you can type just 2, it will remove output too.
dbg -h