PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

Free OpenACC Webinar

debugging in vs 2008 c++ to pvf
Goto page Previous  1, 2, 3  Next
 
Post new topic   Reply to topic    PGI User Forum Forum Index -> Debugging and Profiling
View previous topic :: View next topic  
Author Message
hongyon



Joined: 19 Jul 2004
Posts: 551

PostPosted: Wed Jun 11, 2008 1:22 pm    Post subject: Reply with quote

Hi,

To clarify, so you are able to set breakpoints but it won't stop at your breakpoints? Can you remove all the breakpoints and start all over again? Sometime if the source code is change, the breakpoints need to be reset.

If you try all avenues and still does not work, can you please send us a small test case? Send to trs@pgroup.com.

Thank you,
Hongyon
Back to top
View user's profile
hongyon



Joined: 19 Jul 2004
Posts: 551

PostPosted: Thu Jun 12, 2008 3:17 pm    Post subject: Reply with quote

Hi,

I have received your project and could not reproduce the problem you reported.

What are the steps you do to debug your program?

Here are what I do:

1) Unzip the project into C:\tmp directory.
2) Open PGI Visual Studio 2008.
3) From Menu: click on File->Open->Project/Solution and browse for the project(PVFLib.sln) in C:\tmp\PVFLib and click OK
4) From Menu: click on Debug -> Start Debugging.
It then starts the program and stops in main where the breakpoint is(a call to libsub_).

If you do differently, perhaps try follow those steps and see if it breaks for you.

What message did it say when it didn't stop at breakpoints, or no message at all? Note that when it stops, the red circle of your breakpoint will have arrow in it. What did you see differently?

The OS I ran is Microsoft Windows Server 2003 R2. What is your OS?

Hongyon
Back to top
View user's profile
das



Joined: 02 Nov 2006
Posts: 4

PostPosted: Fri Jun 13, 2008 8:21 am    Post subject: Reply with quote

I followed your steps but with the same result. It does not stop at any breaks. The output is

'Main.exe': Loaded 'C:\Windows\system32\ntdll.dll', Symbols loaded.
'Main.exe': Loaded 'C:\Windows\system32\kernel32.dll', Symbols loaded.
The program '[4688] Main.exe: 0' has exited with code 0 (0x0).

that is it exits normal but does not stop at breaks. My OS is vista.
Back to top
View user's profile
hongyon



Joined: 19 Jul 2004
Posts: 551

PostPosted: Fri Jun 13, 2008 12:18 pm    Post subject: Reply with quote

Hi,

Once we get vs2008 on vista, I will let you know what the problem is.


Thanks for you patience.
Hongyon
Back to top
View user's profile
hongyon



Joined: 19 Jul 2004
Posts: 551

PostPosted: Fri Jun 13, 2008 2:33 pm    Post subject: Reply with quote

Hi,

I have filed TPR# 15011 for this. This seems to be a bug in our debugger on Vista. Unfortunately there is no workaround for now unless you try it on Windows Server 2003.

Thank you.
Hongyon
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    PGI User Forum Forum Index -> Debugging and Profiling All times are GMT - 7 Hours
Goto page Previous  1, 2, 3  Next
Page 2 of 3

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © phpBB Group