- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Debugger jumping around (Pascal)
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2016 07:20 AM
06-28-2016 07:20 AM
Debugger jumping around (Pascal)
When using the debugger it jumps around in the code. For example it will jump back and forth between an if statement & the previous line before finally moving on.
In the past the fix has been to turn off all optimizations for the build but even with that it is still jumping around.
It is IA64 OpenVMS 8.4 Pascal 6.1 compile is:
PASCAL -
/CHECK=ALL -
/DEBUG=ALL -
/GRANULARITY=QUADWORD -
/LIST=LIS:'FILENAME' -
/OBJECT=OBJ:'FILENAME' -
/NOOPTIMIZE -
/TERMINAL=(FILE_NAME) -
/USAGE=(ALL,NOPERFORMANCE) -
'FILESPEC'
Any ideas on how to stop it jumping round?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2016 03:59 PM - edited 06-28-2016 03:59 PM
06-28-2016 03:59 PM - edited 06-28-2016 03:59 PM
Re: Debugger jumping around (Pascal)
One of the benefits of IA64 design (Alpha too) is the ability to execute instructions out of order. The compilers are smart enough to create efficient code which will look like lines executing out of order. This only means that instructions are executing that are linked to certain lines. Look at the machine code generated and you will see this in action. Even with optimization turned off, there will still be some of this interleaving happening.
The bottom line: this is normal.
Dan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-29-2016 12:49 AM
06-29-2016 12:49 AM
Re: Debugger jumping around (Pascal)
As far as I can see - with a small test programm - this works as expected: /DEBUG with /OPTIMIZE results in jumping and with /NOOPTIMIZE there is no jumping. Tested with HP Pascal I64 V6.1-119 on OpenVMS I64 V8.4.
I would check the compiler listings and linker map how the source module was compiled and whether the expected object module was linked into the image.