Questions tagged [release-mode]

an ide or build setting requesting builds without debug objects

typical hallmarks of this mode: optimized compilation, different linking, omitted debugging artifacts

known environments where this concept applies: eclipse, visual studio, maven

177 questions
1
vote
0 answers

network problems in release mode

i've been developing a cross-platform 3D multiplayer game with Ogre3D engine. by using C's own (send/sentto/recvfrom etc.) networking functions, I've created my own network structure. it supports both udp and tcp transport protocols. the game uses…
Alican
  • 286
  • 1
  • 8
0
votes
2 answers

c++ new crashing in release only (MSVS10)

When running the release executable only (No problems occur when running through visual studio) my program crashes. When using "attach to process" function visual studio indicates the crash occurred in the following function: World::blockmap…
Kow
  • 33
  • 6
0
votes
1 answer

Release build issues

I've written an application that works flawlessly when I run it directly from xcode with the run button. This builds a debug version of the binary. When I build for archive (a release build) the application won't function. The only difference…
Justin808
  • 20,859
  • 46
  • 160
  • 265
0
votes
2 answers

Access Violation in debug mode, but fine in release mode

I am working on this problem for two days and this is driving me mad as I am still quite new to C++. This violation access problem may be quite easy to you and may be answered thousands of times. But my lack of C++ knowledge make me even unable to…
JXITC
  • 1,110
  • 1
  • 13
  • 27
0
votes
0 answers

How to debug a Flutter app in release mode after restart?

I'm developing a Flutter App that uses deep links. To test the behavior when the app is closed I do a flutter run --release so the app is installed on my iPhone, then I can close the app and open it with the deep link. Something is not working as I…
Ale TheFe
  • 1,540
  • 15
  • 43
0
votes
0 answers

Firebase Identity Platform Release Version Authentication Problem

I wasn't having such a problem when using the old Firebase authentication methods. After accepting Identity Platform, my gmail and phone auth systems are not working in "android release" mode of my app (downloaded play store app). I'm currently…
0
votes
0 answers

visual studio c++ release mode slower than debug mode for a loop incrementing a volatile

I have a very simple c++ program int main() { volatile int index = 0; for (int i = 0; i < 1000000000; i++) { for(int j = 0; j < 50; j++) { index++; } } } I compiled the code in release and debug mode…
0
votes
1 answer

Publishing using different Web.config

I have a Visual Studio 2010 web-application solution I have created. In this solution I have created a new mode in the configuration manager called "MyProjectName". I have created an additional transform (I think you call it). i.e.…
Seany84
  • 5,526
  • 5
  • 42
  • 67
0
votes
2 answers

Access violation in mlock

I have a console application (written using MS VS2010 SP1). No MFC, no ATL, just standard library. In debug build everything works Ok. But in release build there is an access violation: "First-chance exception at 0x77b0206e in Mapp.exe: 0xC0000005:…
Roter
  • 1
  • 1
0
votes
0 answers

Long string calls destructor of string in Release mode

I just met a weird bug, where the code works in Debug mode but does not work in Release mode. After miserable debugging, I found the following function is called (source: xstring), and the program jumps into the if block…
0
votes
2 answers

Checking if Debugger is present in c++ dll (loaded in C++/CLI wrapper)

I'm checking if a debugger is present in my c++ dll with method if(IsDebuggerPresent()) // set dll name to debug When I load this dll in my C++/CLI wrapper (debug mode in VS) the method always returns false (release) -> why is it so? (or which code…
leon22
  • 5,280
  • 19
  • 62
  • 100
0
votes
1 answer

apk not working accordingly as in debug mode

I just build my apk to test it on the phone but I got some weird errors like the dialogue box that opened on the onTap method stopped working but before or in the debug mode it is still working. the image picker has the same problem that it is not…
palak
  • 381
  • 7
  • 20
0
votes
1 answer

Crash in debug mode along with CDB process termination, but release mode is fine

My application builds and runs fine in Release mode. However, in Debug mode, my application crashes. When trying to use debugger to pinpoint the crash cause, such error is received: Qt Creator unexpected CDB exit The CDB process terminated What…
Megidd
  • 7,089
  • 6
  • 65
  • 142
0
votes
1 answer

Release mode causes infinite looping in loop that works in debug mode

So below is a while loop that works in debug but endlessly loops in release mode. Ans FindMaxProj(PolyShape& S,Matrix& N, Matrix& cg, int StartInd){ MaxFound=false; MaxIndInit=StartInd; …
0
votes
0 answers

Flutter build apk is not working on devices gets freeze on single screen

I am trying to build the apk of my flutter application. The flutter run commands works fine with every build method, but when I tried to build the apk and then install it on the device the app gets freeze and I am unable to perform any actions. I…
Kanhaiya
  • 1
  • 1