T.R | Title | User | Personal Name | Date | Lines |
---|
1846.1 | | LOWFAT::DIETER | | Thu Mar 13 1997 09:05 | 7 |
|
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.2 | debug error vms7.1 | NETRIX::"[email protected]" | Dunski | Mon Mar 17 1997 10:29 | 19 |
| 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.3 | | LOWFAT::DIETER | | Tue Mar 18 1997 09:37 | 12 |
|
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.4 | debugger | NETRIX::"[email protected]" | Alain | Wed Mar 19 1997 07:38 | 42 |
| 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.5 | | LOWFAT::DIETER | | Wed Mar 19 1997 09:43 | 79 |
|
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.6 | Debug + c++ problem | NETRIX::"[email protected]" | Alain | Thu Mar 20 1997 03:46 | 13 |
| 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.7 | More info | NETRIX::"[email protected]" | Alain | Thu Mar 20 1997 03:53 | 42 |
| 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.8 | | SSPADE::ARSENAULT | | Thu Mar 20 1997 14:10 | 9 |
| 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.9 | Debug | NETRIX::"[email protected]" | Alain | Tue Mar 25 1997 10:22 | 6 |
| 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]
|