1834646 Members
2074 Online
110069 Solutions
New Discussion

wdbgui

 
SOLVED
Go to solution
Ryan Twombly
Occasional Advisor

wdbgui

What would I do without the forum?

Our dept.'s transition from 10.20 to 11i continues on apace. My current project is learning the gdb/wdb debugger. I would particualarly like to be able to use the wdb GUI, but when I try to invoke it I get the error message

Error: Can't open display:
Error: Couldn't find per display information

Neither message is listed in the docs, and devresource is STILL down, so do any of you have experience in this area?
7 REPLIES 7
Sanjay_6
Honored Contributor

Re: wdbgui

Hi Ryan,

How are you logging into the system, CDE or telnet login. You need to use xterm to use the GUI.

Hope this helps.

thanks
Santosh Nair_1
Honored Contributor

Re: wdbgui

Sounds like you need to set your display variable of use the screen oriented gui, i.e. gdb -tui

-Santosh
Life is what's happening while you're busy making other plans
Ryan Twombly
Occasional Advisor

Re: wdbgui

follow up:
I'm using telnet. I hadn't heard of xterm before, so I looked at the man pages, but I don't think it applies to me. Could be wrong, though, thanks for your interest, Sanjay. (et all)
Deshpande Prashant
Honored Contributor

Re: wdbgui

Hi
To use GUI software, you need x-emulation software on your local pc to connect to host.
With simple text based telnet emulation, gui softwares will not work.

Prashant.
Take it as it comes.
Sanjay_6
Honored Contributor
Solution

Re: wdbgui

Hi Ryan,

You cannot use GUI applications using telnet. If you try to run any GUI application, you'll get that error you are receiving about can't open display.

Telnet gives you a character terminal interface and for GUI you need a graphical interface. That was the reason i enquired wether you are using xterm i.e. xterminal interface.

If you are logging in from a windows workstation you can use some xterm application which will provide you with a graphical interface to the unix server.

Check this site for a 60 day trial copy of such an emulation package.

http://www.wrq.com

you can also try hummingbird exceed.

Hope this helps.

thanks
Santosh Nair_1
Honored Contributor

Re: wdbgui

Opps, I guess my previous posting was a bit garbled...what I was trying to say was the w/gdb GUI is X based and you'd need to have an X server running on your PC/workstation in order to get this display.

Short of that, you could use the screen oriented GUI of w/gdb by using the -tui option to the program.

Hope this helps.

-Santosh
Life is what's happening while you're busy making other plans
Ryan Twombly
Occasional Advisor

Re: wdbgui

Problem solved! I found an X desktop I didn't know my system had and can run the GUI from there. Now I just need to figure out how to dole out the points....