Solved

VB.net: Debug & Release mode showing different behaviors

Posted on 2003-10-31
4
1,295 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

More Than Just A Video Library

Train for your certification. Learn the latest DevOps tools. Grow your skillset to do better work.

At Linux Academy, we release new training modules every week so you'll always be up to date on the latest tech.

Question has a verified solution.

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

Summary Displaying images in RichTextBox is a common requirement with limited solutions available. Pasting through clipboard or embedding into RTF content only support static images.  This article describes how to insert Windows control objects int…
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…
In this video, viewers will be given step by step instructions on adjusting mouse, pointer and cursor visibility in Microsoft Windows 10. The video seeks to educate those who are struggling with the new Windows 10 Graphical User Interface. Change Cu…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…

707 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