ViewError - HMG building utility

Utilities like DBU, Make, IDE written in HMG/ used to create HMG based applications

Moderator: Rathinagiri

RPC
Posts: 27
Joined: Fri Feb 10, 2017 4:12 am
Has thanked: 3 times

Re: ViewError - HMG building utility

Post by RPC » Sun Feb 12, 2017 9:09 pm

Hi Pablo
Trying to run ViewError. Installed at c:\ViewError but it doesn't show errors as in screenshots provided by you.
It is neither getting uninstalled by selecting uninstall checkbox.
There is ViewError icon at taskbar and when i click it the ViewError screen and Source code editor preence dialog box appears but uninstall doesn't work
Pls guide.
Thanks

User avatar
Pablo César
Posts: 3642
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil
Has thanked: 62 times
Been thanked: 92 times

ViewError - HMG building utility

Post by Pablo César » Sun Feb 12, 2017 9:54 pm

Hi Rajeev,

Thanks for your interest and report your difficulties.

ViewError when run for the first time will create one .INI file in the current location of the executable. It will also create an environment variable where it will register where the application is located. This "if" you confirm in button "SAVE" (see picture below):

Image

In this way Build.bat will recognize that there is an ERROR.LOG viewer application.
It is therefore recommended that you store this application in a more appropriate folder than the main directory.
I've stored it in a sub folder called HMGTools. (together with Call_IDE app) ;)

The uninstall option will only work if the application is actually configured. Hence it will delete the environment variable and will no longer work as ERROR.LOG viewer.

When you save the application, that is, configure the application. Take advantage of it and set it with the text editor "Notepad ++" (* #1) and leave the parameter "-n" that will go straight to the line where the error is occurring. This application makes a lot of progress in my compilations. Be it on the command line as well as in builds through the IDE.

Notes:
  • #1: Use Notepad++ option in ViewError only if you have installed already the Notepad++ in your computer, as your favorite source codes editor.
  • #2: You can install and configure another text editor. But configure it if this editor has the parameterization feature that when opening the editor can position itself in line # <nNumber_of_line> where the error occurs.
    If your favorite editor does not have this feature: let viewError working only through the "Grid as editor" option.
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein

RPC
Posts: 27
Joined: Fri Feb 10, 2017 4:12 am
Has thanked: 3 times

Re: ViewError - HMG building utility

Post by RPC » Mon Feb 13, 2017 2:40 pm

Thanks Pablo It is working now.

User avatar
Pablo César
Posts: 3642
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil
Has thanked: 62 times
Been thanked: 92 times

ViewError - HMG building utility

Post by Pablo César » Mon Feb 13, 2017 3:47 pm

Good ! :D

Thank you for your feedback.
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein

Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 1 guest