HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Debugging??
Operating System - OpenVMS
        1839754
        Members
    
    
        3676
        Online
    
    
        110154
        Solutions
    
Forums
        Categories
Company
Local Language
                
                  
                  back
                
        
                
        
                
        
                
        
        
        
                
        
                
        
        
        
                
        
              
              Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
                
                  
                  back
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
            
                
            
                
            
                
            
                
            
            
                
            
                
            
            
                
            
                
              
            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
Discussion Boards
Blogs
        Information
        Community
Resources
Community Language
        Language
        Forums
Blogs
Topic Options
			
				
					
	
			
		
	- 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
07-02-2007 11:21 PM
07-02-2007 11:21 PM
			
				
					
						
							Debugging??
						
					
					
				
			
		
	
			
	
	
	
	
	
			
				
					
					
						Hi All,
i have a C program(which is compiled & linked with /debug) which is linked via a shareable image. Now I'm able to debug this C program & successfully exit from the debugger. But this C program in turn calls the routines defined thru the shareable image. And that routine is returning a different value & i need to find that.
example:
code = shareable_routine(x1,x2,x3);
The problem here is I'm not able to STEP/INTO that particular routine( Actually i don't lnow how to do that).Even though i have the complete source code of the shareable image, i dont know how to set up that.
Please help me out!!!
Thanks,
/Manesh
					
				
			
			
				
			
			
				
			
			
			
			
			
			
		
		
		
	
	
	
i have a C program(which is compiled & linked with /debug) which is linked via a shareable image. Now I'm able to debug this C program & successfully exit from the debugger. But this C program in turn calls the routines defined thru the shareable image. And that routine is returning a different value & i need to find that.
example:
code = shareable_routine(x1,x2,x3);
The problem here is I'm not able to STEP/INTO that particular routine( Actually i don't lnow how to do that).Even though i have the complete source code of the shareable image, i dont know how to set up that.
Please help me out!!!
Thanks,
/Manesh
		2 REPLIES 2
	
	            
            
		
		
			
            
                - Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2007 11:38 PM
07-02-2007 11:38 PM
			
				
					
						
							Re: Debugging??
						
					
					
				
			
		
	
			
	
	
	
	
	
			
				
					
					
						Manesh,
If you have the complete source code of the shareable image, compile and link this image with /debug. After that you can debug also the shareable part.
If you define a logical name pointing to the shareable image linked with the debugger it can stay in a different directory or/and have a different name.
To set a breakpoint or examine symbols from the shareable image use:
DBG> SET IMAGE shareable_image
Bojan
		
		
	
	
	
If you have the complete source code of the shareable image, compile and link this image with /debug. After that you can debug also the shareable part.
If you define a logical name pointing to the shareable image linked with the debugger it can stay in a different directory or/and have a different name.
To set a breakpoint or examine symbols from the shareable image use:
DBG> SET IMAGE shareable_image
Bojan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2007 12:31 AM
07-03-2007 12:31 AM
			
				
					
						
							Re: Debugging??
						
					
					
				
			
		
	
			
	
	
	
	
	
			
				
					
					
						Manesh,
In addition to Bpjan's direct comment, I will add that time spent with the Debugger manual will pay extremely large dividends.
The OpenVMS Debugger is a very powerful utility. In addition to SET IMAGE, there are other commands that would also be useful in debugging a problem with a shareable image (since this often involves repeated debugging sessions, I also recommend the use of a initialization file referenced using the DBG$INIT logical name).
Using the full power of the debugger can save many hours of laborious work, and is well worth the effort.
- Bob Gezelter, http://www.rlgsc.com
		
		
	
	
	
In addition to Bpjan's direct comment, I will add that time spent with the Debugger manual will pay extremely large dividends.
The OpenVMS Debugger is a very powerful utility. In addition to SET IMAGE, there are other commands that would also be useful in debugging a problem with a shareable image (since this often involves repeated debugging sessions, I also recommend the use of a initialization file referenced using the DBG$INIT logical name).
Using the full power of the debugger can save many hours of laborious work, and is well worth the effort.
- Bob Gezelter, http://www.rlgsc.com
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
		
	
	
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP
