Page 1 of 1

Debugger

Posted: Fri May 24, 2013 5:13 pm
by dhaine_adp

Debugger

Posted: Fri May 24, 2013 5:21 pm
by Pablo César
Hi All,

I've published yesterday the new GUI debugger for Harbour on my web site http://www.kresin.ru/en/debugger.html. It works with GUI and console applications.
Sources are included in HwGUI source distribution, binaries may be downloaded as a separate package or as a part of HwGUI binaries.

The debugger consists of two parts:

1) Library hwgdebug.lib, which should be linked to the application,
that you are going to debug, instead of the standard hbdebug.lib. Its
sources are in hwgui/source/debug, it is part of the HwGUI project, but
does not contain calls of HwGUI functions and classes and therefore
can be used with console applications, and GUI applications built using
any other GUI library.

2) the executable module hwgdebug.exe - actually, the debugger -
standalone( in contrast to the standard, built-in debugged application )
GUI program written in Harbour+HwGUI. Its sources are in
hwgui/utils/debugger. HwGUI is a cross-platform library, so, an
executable can be built under Windows and under other operating systems
where GTK presents ( Linux, for example ).

The debugger connects to the debuggee through special files that can be
arranged in any convenient place. Therefore, the debugged program may
physically reside on a different computer and even be built on another
OS. Thus, we can, using the Windows version hwgdebug.exe at its
computer, to debug a program running on some other computer in the
network under Linux or, for example, OS2.

Regards, Alexander.

Re: Debugger

Posted: Fri May 24, 2013 6:02 pm
by Rathinagiri
That is a great news! Can this be used along with HMG programs?

Re: Debugger

Posted: Mon Jun 03, 2013 1:54 pm
by esgici
Rathinagiri wrote:That is a great news! Can this be used along with HMG programs?
I haven't enough experience on debugging; but author say ( in ReadMe.eng file ) :
1) Library hwgdebug.lib, which should be linked to the application,
that you are going to debug, instead of the standard hbdebug.lib. Its
sources are in hwgui/source/debug, it is part of the HwGUI
project, but does not contain calls of HwGUI functions and classes and therefore
can be used with console applications, and GUI applications
built using any other GUI library
.
Note : In addition hwgdebug.lib, package include libhwgdebug.a library file.

Regards