PC Review


Reply
Thread Tools Rate Thread

Breakpoints not working in VS 2003 using VB.

 
 
Lost In The Woods
Guest
Posts: n/a
 
      16th Feb 2008
I've seen a ton of posts about similar problems, but none of the solutions
were effective. I've been maintaining this VB code for 3 years, and this is
the first time this has happened. It seems that the first one or two
breakpoints encountered trigger, but after that, none of my other breakpoints
work. Also, when the breakpoints stop working, the debugger seems to lose
track of what module the executing code is in, because when the fatal error
occurs, the debugger also complains that there is "no source code for the
current location." I know the exact line it's failing on! This is making
development absolutely impossible.
 
Reply With Quote
 
 
 
 
Mr. Arnold
Guest
Posts: n/a
 
      16th Feb 2008

"Lost In The Woods" <(E-Mail Removed)> wrote in
message news:0EF5CDB0-731C-420E-89EF-(E-Mail Removed)...
> I've seen a ton of posts about similar problems, but none of the solutions
> were effective. I've been maintaining this VB code for 3 years, and this
> is
> the first time this has happened. It seems that the first one or two
> breakpoints encountered trigger, but after that, none of my other
> breakpoints
> work. Also, when the breakpoints stop working, the debugger seems to lose
> track of what module the executing code is in, because when the fatal
> error
> occurs, the debugger also complains that there is "no source code for the
> current location." I know the exact line it's failing on! This is making
> development absolutely impossible.


I contracted in a company that had VS2003 on their brand new machines
running XP Pro. The had replaced the old machines with new ones, because of
debugging problems similar to your problems with the old machines that were
not that old. The new machines had more memory, but it didn't correct the
problem. Well, it came to be that the page file size that the O/S was using
(XP) was not set correctly. It was a page file size that was set to low,
which was causing VS2003's debugger to start having problems when debugging
code. The solution was to set the page file size to be automatically
controlled by the O/S. After the page file size was corrected, they never
had another problem with the VS2003 debugger in debugging code.

 
Reply With Quote
 
Lost In The Woods
Guest
Posts: n/a
 
      17th Feb 2008
Thanks for your reply. I changed the paging settings and unfortunately the
debugger continues to ignore my breakpoints. However, I have discovered
something interesting. I'm using MySQL and it would appear that opening the
database is causing the failure. If I comment out the code, all the
breakpoints that were failing before start working. I'm sure it's not a code
path issue. There appears to be some kind of insidious memory related
problem happening here. I can debug the particular piece of code I'm working
on without having the database open. God help me when that's not the case...

"Mr. Arnold" wrote:

>
> "Lost In The Woods" <(E-Mail Removed)> wrote in
> message news:0EF5CDB0-731C-420E-89EF-(E-Mail Removed)...
> > I've seen a ton of posts about similar problems, but none of the solutions
> > were effective. I've been maintaining this VB code for 3 years, and this
> > is
> > the first time this has happened. It seems that the first one or two
> > breakpoints encountered trigger, but after that, none of my other
> > breakpoints
> > work. Also, when the breakpoints stop working, the debugger seems to lose
> > track of what module the executing code is in, because when the fatal
> > error
> > occurs, the debugger also complains that there is "no source code for the
> > current location." I know the exact line it's failing on! This is making
> > development absolutely impossible.

>
> I contracted in a company that had VS2003 on their brand new machines
> running XP Pro. The had replaced the old machines with new ones, because of
> debugging problems similar to your problems with the old machines that were
> not that old. The new machines had more memory, but it didn't correct the
> problem. Well, it came to be that the page file size that the O/S was using
> (XP) was not set correctly. It was a page file size that was set to low,
> which was causing VS2003's debugger to start having problems when debugging
> code. The solution was to set the page file size to be automatically
> controlled by the O/S. After the page file size was corrected, they never
> had another problem with the VS2003 debugger in debugging code.
>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Breakpoints not working in VBA A C Microsoft Access 4 13th Sep 2005 11:51 PM
Help with breakpoints not working jake Microsoft VB .NET 2 22nd Mar 2004 10:05 PM
vba breakpoints not working Microsoft Access 3 2nd Mar 2004 02:26 PM
Breakpoints Not Working? Joe Microsoft Access Form Coding 5 20th Dec 2003 07:52 PM
Breakpoints Not Working?? Joe Microsoft Access VBA Modules 1 14th Dec 2003 04:19 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:11 PM.