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

Conference turris::debug

Title:DEBUG
Notice:Updated locations for reporting QARs -- see note 834.1
Moderator:LOWFAT::DIETER
Created:Fri Jan 24 1986
Last Modified:Wed Jun 04 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:1868
Total number of notes:8200

1846.0. "Same problem on VMS-7.1 as solved by alpdebu06_070" by BACHUS::DUNSKI (Alain Dunski (856-8753)) Thu Mar 13 1997 06:18

Is there a patch for VMS-7.1. Customer has same problem (accvio) under 7.1 as
under 7.0 and patch alpdebu06_070 doesn't apply to 7.1.

Regards
Alain 
T.RTitleUserPersonal
Name
DateLines
1846.1LOWFAT::DIETERThu Mar 13 1997 09:057
Can you please be more specific about the problem.  (We just 
provide the fixes and are generally unaware of which alpdebu0x_0y0 
kit they eventually wind up in...)

thanks,
Mary
1846.2debug error vms7.1NETRIX::"[email protected]"DunskiMon Mar 17 1997 10:2919
I got an erroneous information from custommer, this is not the same problem as
under 6.2.

Custommer wrote C++ program and tested it with debug, when entering debug he
gets 
message DEBUG-E-INTERR, debug error in DBG_RST_FROM_DST could not find
corresponding
RST or session corruption.

Next he gets message DEBUG-I-INITIAL lang C++ pgmname
then                 DEBUG-I-NODATNAME, type go to reach main program.

Therafter the program works but programmers do not trust debugger and are
afraid of using it.


Kind regards
Alain
[Posted by WWW Notes gateway]
1846.3LOWFAT::DIETERTue Mar 18 1997 09:3712
Hi Alain -

Without a small program which demonstrates the problem, there is not much
we can do...

However, is the customer using C++ V5.5 and Debug V7.1C, which just shipped
in February?  Prior to these versions of C++ and Debug, the debugger only 
contained minimal support for C++.  I would suggest that your customer upgrade, 
if he hasn't already.

Mary
1846.4debuggerNETRIX::"[email protected]"AlainWed Mar 19 1997 07:3842
Here is a source that gives the problem

#include <iostream.h>

void main ()
{
        cout<<"Dit is lijn 1"<<endl;
        cout<<"Dit is lijn 2"<<endl;
        cout<<"Dit is lijn 3"<<endl;
        cout<<"Dit is lijn 4"<<endl;
        return;
}
gt0>run debug

         OpenVMS Alpha DEBUG Version V7.1-000

%DEBUG-E-INTERR, debugger error in DBG_RST_FROM_DST: could not find
correspondin
g RST or session corruption
%DEBUG-I-INITIAL, Language: C_PLUS_PLUS, Module: DEBUG
%DEBUG-I-NOTATMAIN, Type GO to reach MAIN program

DBG>


From there, each command gives message

  %DEBUG-W-SCRNOSRCLIN, No source line for address: 00000000000200D8


and it is impossible to examine any symbol.

program was compiled with switch /debug=all

execution of program itself doesn't work (cout doesn't display anything)

It works good without debug.
 

Regards
Alain
[Posted by WWW Notes gateway]
1846.5LOWFAT::DIETERWed Mar 19 1997 09:4379
Hi Alain -

Which version of the compiler are you/customer using?
I cannot reproduce this problem with C++ V5.3-005 and 
any of the V6.2, V7.0, V7.1 debuggers...



DBGAVC::[DIETER.WORK]: type x.cxx
#include <iostream.h>

void main ()
{
        cout<<"Dit is lijn 1"<<endl;
        cout<<"Dit is lijn 2"<<endl;
        cout<<"Dit is lijn 3"<<endl;
        cout<<"Dit is lijn 4"<<endl;
        return;
}
DBGAVC::[DIETER.WORK]: type x.lis
                                Source Listing                  19-MAR-1997 09:4
1:34  DEC C++ V5.3-005                  Page 1
                                                                19-MAR-1997 09:3
6:49  DBGD2$:[DIETER.WORK]X.CXX;1

              1 #include <iostream.h>
                                Source Listing                  19-MAR-1997 09:4
1:34  DEC C++ V5.3-005                  Page 2
                                                                19-MAR-1997 09:3
6:49  DBGD2$:[DIETER.WORK]X.CXX;1

           6125
           6126 void main ()
           6127 {
           6128         cout<<"Dit is lijn 1"<<endl;
           6129         cout<<"Dit is lijn 2"<<endl;
           6130         cout<<"Dit is lijn 3"<<endl;
           6131         cout<<"Dit is lijn 4"<<endl;
           6132         return;
           6133 }


Command Line
------- ----

CXX/DEBUG=ALL/NOOPT/LIS X

DBGAVC::[DIETER.WORK]: cxx/debug=all/noopt/lis x
DBGAVC::[DIETER.WORK]: link/debug x
DBGAVC::[DIETER.WORK]: run x

         OpenVMS Alpha DEBUG Version V7.1-001

%DEBUG-I-INITIAL, Language: C_PLUS_PLUS, Module: X
%DEBUG-I-NOTATMAIN, Type GO to reach MAIN program

DBG> exit
DBGAVC::[DIETER.WORK]: setup evmsv70
DBGAVC::[DIETER.WORK]: run x

         OpenVMS Alpha DEBUG Version V7.0-000

%DEBUG-I-INITIAL, Language: C_PLUS_PLUS, Module: X
%DEBUG-I-NOTATMAIN, Type GO to reach MAIN program

DBG> exit
DBGAVC::[DIETER.WORK]: setup evmsv201
DBGAVC::[DIETER.WORK]: run x

         OpenVMS Alpha DEBUG Version V6.2-100

%DEBUG-I-INITIAL, language is C_PLUS_PLUS, module set to X
%DEBUG-I-NOTATMAIN, type GO to get to start of main program

DBG> exit


Mary
1846.6Debug + c++ problemNETRIX::&quot;[email protected]&quot;AlainThu Mar 20 1997 03:4613
Hi Mary,

Custommer uses compiler DEC C++ V5.5-019 on OpenVMS Alpha 7.1

OpenVMS Alpha Debug Version V7.1-000

I thought that it could be because of switch /Nooptim missing but I got the
same 
result when I use the switch.

Regards
Alain
[Posted by WWW Notes gateway]
1846.7More infoNETRIX::&quot;[email protected]&quot;AlainThu Mar 20 1997 03:5342
Hi Mary,

I did a few tests more at custommer site.
It seems that when I work in screen mode, I always get following error
messages
!  2: |%DEBUG-I-SOURCESCOPE, Source lines not available for .0\%PC            

!  3: |        Displaying source in a caller of the current routine           

!  4: |%DEBUG-W-SCRNOSRCLIN, No source line for address: 00000000000200B8 

and I cannot see the output of program intstructions.

If I try without setting screen mode, the program seems to run OK.

Here is output in that case :
gt0>run debug

         OpenVMS Alpha DEBUG Version V7.1-000

%DEBUG-E-INTERR, debugger error in DBG_RST_FROM_DST: could not find
correspondin
g RST or session corruption
%DEBUG-I-INITIAL, Language: C_PLUS_PLUS, Module: DEBUG
%DEBUG-I-NOTATMAIN, Type GO to reach MAIN program

DBG> g
break at routine MAIN
DBG> g
Dit is lijn 1
Dit is lijn 2
Dit is lijn 3
Dit is lijn 4
%DEBUG-I-EXITSTATUS, is '%SYSTEM-S-NORMAL, normal successful completion'
DBG> exit
gt0>

Could this help You

Kind regards
Alain.
[Posted by WWW Notes gateway]
1846.8SSPADE::ARSENAULTThu Mar 20 1997 14:109
The problem is that the compiler is using the new C++ compiler V5.5
without the new C++ supportive debugger: V7.1C (note the 'C').

This debugger is shipped with the V5.5 C++ compiler.  It must be
installed (perhaps that's already been done).  Then the customer should
read and follow the comments at the top of the files:

	sys$startup:debugsetup.com 
	sys$startup:debug$startup.com
1846.9DebugNETRIX::&quot;[email protected]&quot;AlainTue Mar 25 1997 10:226
My customer installed debug v7.1C, I am waiting for results...
I'll inform you if it worked.

Thanks a lot
Alain
[Posted by WWW Notes gateway]