473,326 Members | 2,133 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

Breakpoints not working in VS 2003 using VB.

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.
Feb 16 '08 #1
2 2753

"Lost In The Woods" <Lo************@discussions.microsoft.comwrote in
message news:0E**********************************@microsof t.com...
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.

Feb 16 '08 #2
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" <Lo************@discussions.microsoft.comwrote in
message news:0E**********************************@microsof t.com...
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.

Feb 17 '08 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Dave | last post by:
Just started using VS 2003 and many times in my project (s) my breakpoints are ignored OR the breakpoint is hit and a message box displays stating that the is no source code available for this...
2
by: mclagett | last post by:
Can anyone please help me figure out why all of a sudden (even after many restarts of Visual Studio 2005 and reboots, etc) I am no longer able to set breakpoints in the disassembler window. I...
1
by: Marcel Lattmann | last post by:
I develop on a windows 2000 SP3 system. I have 2 problems with breakpoints on the web server. 1) When the program comes to a breakpoint, the thread is halted. This happens on certain breakpoints,...
2
by: MSK | last post by:
Hi, Continued to my earlier post regaring "Breakpoints are not getting hit" , I have comeup with more input this time.. Kindly give me some idea. I am a newbie to .NET, recently I installed...
1
by: jeem | last post by:
I am using ActiveState Komodo 3.5 to work on a large python 2.4 application with an extensive UI... I am attempting to debug the application and am setting breakpoints in 4 different *.py files.....
3
by: Randy Magruder | last post by:
Attn: Asp.net gurus...if anyone can help, I hope it's here. Okay, I'm at my wits end. I have googled til my fingers hurt and am still not finding answers. The symptoms are as follows: 1. ...
1
by: Norman Diamond | last post by:
One Visual Studio 2005 solution contains a C# project and C++ ATL DLL project. The DLL compiles fine, gets registered automatically, gets referenced correctly when the C# program compiles, and...
4
by: Jeff | last post by:
My breakpoints don't work. Have, compacted, decompiled but no change. Also turned off AutoCorrect. Heeeeelp Jeff "More Access Stuff." http://www.asken.com.au
3
by: Ronald Raygun | last post by:
I have some server side code I want to debug (coming from C++ background). I am using echo statements but for some reason, no output is being generated. It would be much simpler if I could set...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.