Pgdbg: Difference between revisions

Jump to navigation Jump to search
No edit summary
Line 37: Line 37:
== Graphical mode ==
== Graphical mode ==
The debugger's default user interface is a graphical user interface or GUI.
The debugger's default user interface is a graphical user interface or GUI.
If you have set the X11 forwarding then the pgdbg will start in the graphical mode in a pop-up window. If you don't have X11 forwarding, you can run pgdbg in a text mode by adding an extra option "-text" :
{{Command|pgdbg -text program arg1 arg2}}


[[File:Pgdbg_gui_schematic.png|thumbnail|300px|PGDGB in graphical mode(click for a larger image)|left  ]]
[[File:Pgdbg_gui_schematic.png|thumbnail|300px|PGDGB in graphical mode(click for a larger image)|left  ]]
As the illustration shows, the GUI is divided into several areas:
* the menu bar
** The source window, illustrated in Figure 2, displays the source code for the current location
* main
* toolbar
* source window
* program I/O window
* and debug information tabs.


If you have set the X11 forwarding then the pgdbg will start in the graphical mode in a pop-up window. If you don't have X11 forwarding, you can run pgdbg in a text mode by adding an extra option "-text" :
{{Command|pgdbg -text program arg1 arg2}}


</translate>
</translate>
Bureaucrats, cc_docs_admin, cc_staff
337

edits

Navigation menu