Skip to content

This repository contains everything you need to install debuging software for BI-PA or Progtest on FIT CVUT

License

Notifications You must be signed in to change notification settings

bortkoP/easy-progtest-dbg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Easy progtest debuger

This repository contains everything you need to install debuging software for BI-PA or Progtest on FIT CVUT

[INSTALLATION]

How to install:

LINUX

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!

[UNINSTALL]

How to uninstall:

LINUX

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!

[USAGE]

How to use:

Testing

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!

Creating datasets

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.

Removing datasets

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.

Help

dbg -h

About

This repository contains everything you need to install debuging software for BI-PA or Progtest on FIT CVUT

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  

Languages