[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference bulova::decw_jan-89_to_nov-90

Title:DECWINDOWS 26-JAN-89 to 29-NOV-90
Notice:See 1639.0 for VMS V5.3 kit; 2043.0 for 5.4 IFT kit
Moderator:STAR::VATNE
Created:Mon Oct 30 1989
Last Modified:Mon Dec 31 1990
Last Successful Update:Fri Jun 06 1997
Number of topics:3726
Total number of notes:19516

2417.0. "dxdb and wrong source file selection?" by WPOMM2::ZAMBOTTI () Fri Mar 09 1990 02:24

Hi everyone,

got a problem using dxdb!

Every seems to be working Ok until I reach a piece of code in my program that
looks like this :

    worldoff() ;
    strcpy(filename, "full.screen") ;
    gwrite(filename) ;

worldoff() & grwite() are functions written by myself.

What happens when I try and step into gwrite() is instead of the 
"dxdb:Source Display" loading the source file halo.c, which is where the
function gwrite() is in, it loads file "full.screen" or what ever string I
place inbetween the double-quotes on the previous line.

In my situation gwrite() creates files so the file "full.screen" does not exist.
This results in the Source Display being blank.

I have checked my make files and all are compiled with the -g option.  So
what have I done wrong?  All other functions behave correctly when they are
stepped into.

Any ideas,

Walter Zambotti.
T.RTitleUserPersonal
Name
DateLines
2417.1What version of UWS?FLUME::metskyNo applause, just throw moneyFri Mar 09 1990 13:054
It looks like a bug in the parsing code that I think was fixed in UWS2.2,
but I'll have to give it a test.

 -dave-