T.R | Title | User | Personal Name | Date | Lines |
---|
1834.1 | | SSPADE::ARSENAULT | | Wed Feb 05 1997 13:18 | 3 |
| I suspect you're running into the difficulties associated with debugging
optimized code. I suggest you add the /NOOPTIMIZE qualifier to the BASIC
command line and then try debugging.
|
1834.2 | Debugger problem | CSC32::COMULADA | | Wed Feb 05 1997 16:24 | 10 |
| Thanks for the info.
On V3.7 of Vax Basic, I don't see the qualifier
/Optimize, yet I can use the /noopt. I suspect its
the default.
I tried using the /optimize switch and it
errors out trying to optimize. Is this switch
available on the Vax Basic 3.7 or 3.8 (not alpha)??
Felix
|
1834.3 | VAX => no optimization | GIDDAY::GILLINGS | a crucible of informative mistakes | Wed Feb 05 1997 17:21 | 6 |
| Felix,
*VAX* Basic does not optimize at all, hence no qualifier. Are you sure all
the modules were compiled with /DEBUG, on the executing system and the
source files are still in their original locations?
John Gillings, Sydney CSC
|
1834.4 | /OPT is valid for VAX BASIC | TLE::HAYNES | | Thu Feb 06 1997 07:40 | 7 |
| Felix and John,
The VAX BASIC compiler does optimize and accepts both /OPTIMIZE
and /NOOPTIMIZE qualifiers. The COMPILE command in immediate
mode however does not accept either of these qualifiers.
Peter
|
1834.5 | | WIBBIN::NOYCE | Pulling weeds, pickin' stones | Thu Feb 06 1997 09:34 | 7 |
| > Also noted that when this happens, the debugger states
> that its set a break
> point to a low line number like 13 or 15, instead of
> a higher expected line number in the thousands.
How many thousands? Some of our compilers have had trouble
when line numbers exceed 65535 -- or perhaps even 32767.
|
1834.6 | Debugger | CSC32::COMULADA | | Thu Feb 06 1997 09:43 | 18 |
| Thanks for the replies.
I did find something in the release notes and I
wonder if this could be the problem. If so any ideas
on a workaround or if it will ever be changed....
V3.6, 3.7 and 3.8 release notes
o If a VAX BASIC program contains more than 32767
lines of code, the compiler will feed the debugger
incorrect source line information for the lines above
32767.
Comments or suggestions
Felix
|
1834.7 | | SSPADE::SSPADE::HILDE | | Mon Feb 10 1997 10:58 | 14 |
|
> o If a VAX BASIC program contains more than 32767
> lines of code, the compiler will feed the debugger
> incorrect source line information for the lines above
> 32767.
If this is the problem, and it sounds like it is, then there is no work
around, other than moving the modules around as you have noted or breaking
the code up into smaller modules. The line number limitation, however,
would require a compiler fix...the debugger depends completely on the
compiler generated source line information.
Lon
|