forums.silverfrost.com Forum Index forums.silverfrost.com
Welcome to the Silverfrost forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Debug Win32 code in Windows 8

 
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Support
View previous topic :: View next topic  
Author Message
acw



Joined: 04 Nov 2005
Posts: 165
Location: Darkest Devon

PostPosted: Thu Nov 22, 2012 4:06 pm    Post subject: Debug Win32 code in Windows 8 Reply with quote

Hi,

I'm using the latest FTN95 release with VS2008 and 2010 on Windows 8 to develop Win32 ClearWin programs. Compiling and running native code seems to be fine but, when debugging, any breakpoints I set while the program is being debugged are ignored until the it is restarted, although the breakpoints are shown in the source code and breakpoints list. This also means "run to cursor" doesn't work.

If a breakpoint is set before running the program the debugger works as expected.

Alan
Back to top
View user's profile Send private message Visit poster's website
Robert



Joined: 29 Nov 2006
Posts: 444
Location: Manchester

PostPosted: Thu Nov 22, 2012 4:23 pm    Post subject: Reply with quote

How curious. Have you tried using sdbg to see if the same behaviour is present?
Back to top
View user's profile Send private message Visit poster's website
acw



Joined: 04 Nov 2005
Posts: 165
Location: Darkest Devon

PostPosted: Thu Nov 22, 2012 7:29 pm    Post subject: Reply with quote

sdbg is fine so its just the VS plugins. I also tried runas administrator but that didn't make any different. It happens on the simplest two-line program and on big programs.
Back to top
View user's profile Send private message Visit poster's website
Robert



Joined: 29 Nov 2006
Posts: 444
Location: Manchester

PostPosted: Wed Dec 05, 2012 11:25 pm    Post subject: Reply with quote

Did you use Windows 7 previously? I am sure I have fixed a bug like that.
Back to top
View user's profile Send private message Visit poster's website
acw



Joined: 04 Nov 2005
Posts: 165
Location: Darkest Devon

PostPosted: Thu Dec 06, 2012 11:06 am    Post subject: Reply with quote

I've been using Win7 x64 for the past couple of years and I haven't seen this problem before.

The only strangeness I've encountered before in the VS debugger is that when debugging a program, you can't turn a breakpoint off from the code window. Although the red dot disappears the breakpoint doesn't disappear from the breakpoints list window (and it still cause the program to pause when next hit). Deleting it twice from the list window does allow it to be deleted. When you're not debugging the breakpoint turns off as expected. This is similar to javascript debugging in VS so I'd assumed it was just how the VS integration worked...

The Win 8 issue looks like it might be similar, but different since the breakpoint does appear in the list and code window but is just ignored. Are other people getting on okay with Win8/VS/Win32 debugging?
Back to top
View user's profile Send private message Visit poster's website
acw



Joined: 04 Nov 2005
Posts: 165
Location: Darkest Devon

PostPosted: Thu Feb 14, 2013 12:06 pm    Post subject: Reply with quote

Is there any new on this issue with win32 debugging in VS and Win8? Is anyone able to repeat the problem, or conversely has anyone found they don't have a problem with Win8 debugging?
Back to top
View user's profile Send private message Visit poster's website
Robert



Joined: 29 Nov 2006
Posts: 444
Location: Manchester

PostPosted: Thu Feb 14, 2013 7:22 pm    Post subject: Reply with quote

I haven't had chance to look at this yet. I have used sdbg quite successfully - not that is helps the VS issue.
Back to top
View user's profile Send private message Visit poster's website
Robert



Joined: 29 Nov 2006
Posts: 444
Location: Manchester

PostPosted: Sun Mar 03, 2013 2:17 pm    Post subject: Reply with quote

This is fixed in the next release.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Support All times are GMT + 1 Hour
Page 1 of 1

 
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 © 2001, 2005 phpBB Group