Solved

VB.net: Debug & Release mode showing different behaviors

Posted on 2003-10-31
4
1,284 Views
Last Modified: 2010-05-18
Hi,
    I am getting different behaviors of my VB.net application in debug and behavior modes. It works in an expected manner in the debug mode, but does not update a few fields in the databse in the Release mode. I cannot isolate the error by debugging as it works fine in the debug mode. Kind of a Schrodinger cat condition. Let me know if you have ever come acrtoss such a situation.
Thanks,
Amber
0
Comment
Question by:kaamchor
  • 2
4 Comments
 
LVL 42

Expert Comment

by:frodoman
ID: 9660727
Right-click on your project in the solution explorer then select 'properties' then click 'Configuration Properties' go through each item and compare both the Debug & Release modes to make sure there aren't any differences.  There shouldn't be, but it can happen.
0
 

Author Comment

by:kaamchor
ID: 9661369
Thanks a lot frodoman for your help, but it did not solve the problem. I guess its a problem with the thrid party software I am working on.
Amber
0
 
LVL 3

Accepted Solution

by:
Bahnass earned 500 total points
ID: 9715715
Hi
1-Do U ever Use

                       #If Debug THEN

                            #End If

in Ur program?

2- It happens sometimes with microsoft to change ORDER of execution of events .
try print out with     debug.write to check which event is done first

3- Can U post more info about BUG
Bahnass
0
 

Author Comment

by:kaamchor
ID: 9715943
Thanks Bahnass for your help. Yes there are places where
#If Debug THEN

#End If
 blocks have been wirtten, but not by me. Yes, now I think that they might be the culprits. Let me take a look at them closey.
Thanks,
Amber
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In my previous article (http://www.experts-exchange.com/Programming/Languages/.NET/.NET_Framework_3.x/A_4362-Serialization-in-NET-1.html) we saw the basics of serialization and how types/objects can be serialized to Binary format. In this blog we wi…
For those of you who don't follow the news, or just happen to live under rocks, Microsoft Research released a beta SDK (http://www.microsoft.com/en-us/download/details.aspx?id=27876) for the Xbox 360 Kinect. If you don't know what a Kinect is (http:…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

825 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question