Solved

VB.net: Debug & Release mode showing different behaviors

Posted on 2003-10-31
4
1,289 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

Question has a verified solution.

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

Recently while returning home from work my wife (another .NET developer) was murmuring something. On further poking she said that she has been assigned a task where she has to serialize and deserialize objects and she is afraid of serialization. Wha…
In my previous two articles we discussed Binary Serialization (http://www.experts-exchange.com/A_4362.html) and XML Serialization (http://www.experts-exchange.com/A_4425.html). In this article we will try to know more about SOAP (Simple Object Acces…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

734 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