Questions tagged [debug-mode]

Debug-mode refers to running an application in a way that allows debugger to be attached to it. The debugger allows the application developer to perform stepping through the code, inspecting variables and other actions. These actions are known as debugging, usually used when developing application or tracking bugs. For example to run a java application in normal mode you would use

"java Main.class" 

To run the same application in debug mode you would use

"java -agentlib:jdwp=suspend=y,transport=dt_socket,address=8123,server=y Main.class"

this will cause the application to listen on port 8123 for debugger to connect to it.

121 questions
2
votes
1 answer

How do I enable "Technical Translation" in debug mode on Odoo 10?

I've got two servers running odoo 10. One has "Technical Translation" in the debug mode as the screenshot shows-> However on the other one, there are much less options in debug mode-> What could have led to this and how can I fix it (and including…
user132
  • 33
  • 1
  • 5
2
votes
1 answer

Issue with app in release mode while everything's ok in debug mode

I have a big problem with an app and I don't understand what's going on... My app was working fine in debug mode so I decided to publish it. Once it was on the store O downloaded it and tested it again and noticed there was a huge problem : The app…
user2449253
  • 103
  • 2
  • 13
2
votes
1 answer

iOS application runs in the background mode by default

Is there any way to make an iOS application starts running in the background under debug mode? I mean, when you press Cmd+R - the app will be running, but you still need to tap an application icon on the device to open the app.
Miroslav
  • 546
  • 2
  • 9
  • 22
2
votes
0 answers

map/set iterators incompatible error using OpenEXR and compiled in MSVC Debug mode

I have a problem that I can't figure out. My project using the OpenEXR library is perfectly working on the Linux platform. It has to be compilable also in Visual Studio 2015. Hence I'm trying to port it. I have successfully compiled and installed…
Michal Wirth
  • 169
  • 2
  • 8
2
votes
1 answer

Eclipse CDT and Debug/Release Modes

I just got a simple "Hello, World!" C program to build and compile in the Eclipse CDT plugin. When you go to create a new C project, or when you go to set up a Run Configuration for an existing C project, Eclipse gives you the ability to specify…
smeeb
  • 27,777
  • 57
  • 250
  • 447
2
votes
2 answers

Swift app function not called in release mode

I have a iOS Swift app. I recently added a feature and uploaded the new version to TestFlight. For some reason, the main function for this new feature is not being called in release mode, but works perfectly in debug mode. What I tried so far:…
ANaimi
  • 6,266
  • 7
  • 32
  • 32
2
votes
4 answers

My code works in Debug mode, but not in Release mode

I have a code in Visual Studio 2008 in C++ that works with files just by fopen and fclose. Everything works perfect in Debug mode. and I have tested with several datasets. But it doesn't work in release mode. It crashes all the time. I have turned…
Nima
  • 854
  • 3
  • 11
  • 18
2
votes
1 answer

How can I determine if production ASP.NET site is running with a debug build?

I am aware that code is optimized when built in release mode and should always be deployed to production as such, but I wanted to know if there was a way to find out if your code has been deployed with a debug build vs. a release build. Would a…
Karl Anderson
  • 34,606
  • 12
  • 65
  • 80
2
votes
1 answer

destroying a protocol buffer message in debug mode is almost 500 times slower than in release mode

Use the following code with your own timing code around the call to delete msg in main(). When running in debug mode, it is taking 473 times as long, on average, as when running without debugging. Does anyone know why this is happening? If so, is…
Chris Morris
  • 4,335
  • 4
  • 24
  • 28
1
vote
0 answers

Delphi 10.4 Run (Debug Mode) Not Showing Application

I'm trying to run my application in debug mode, but the IDE isn't showing it on the screen. When I try to close the project or the IDE, it gives me this message: And when I choose either terminate or detach, it gives me another message: The…
ramson48
  • 11
  • 4
1
vote
1 answer

Fails Running Unit Tests in Debug Mode in PhpStorm

I can successfully run Unit tests via PhpStorm, but when I run them in Debug Mode it fails with following error: Xdebug: [Step Debug] Time-out connecting to debugging client, waited: 200 ms. Tried: host.docker.internal:9000 (through…
1
vote
1 answer

React-Native INSTALL_FAILED_UPDATE_INCOMPATIBLE:Package com.schoolproject signatures do not match previously installed version; ignoring

Execution failed for task ':app:installDebug'. java.util.concurrent.ExecutionException: com.android.builder.testing.api.DeviceException: com.android.ddmlib.InstallException: INSTALL_FAILED_UPDATE_INCOMPATIBLE: Package com.schoolproject signatures…
1
vote
1 answer

VSCode Python: execute statement during debug

Is it possible to execute statements while the debug mode is active, possibly in the interactive mode? Let's say I'm working with a dataframe, and it doesn't behave as I want. I go line by line in debug mode, and I want to check some properties…
fT3g0
  • 17
  • 3
1
vote
0 answers

Avoid parameter output during Maven Mojo Configuration in debug mode

When running a Maven mojo in debug mode (-X), it produces this output: [DEBUG] Configuring mojo 'at.mic.maven.plugins:release-workflow-maven-plugin:1.0.0:release' with basic configurator --> [DEBUG] (f) ... [DEBUG] (f) password = ... [DEBUG] …
Frank Winkler
  • 409
  • 6
  • 16
1
vote
1 answer

How do i know when to use Debug mode or Release mode in flutter?

I am new in flutter. Help me guys. I am currently working making simple apps in flutter. And I just found about new release mode and debug mode in flutter. I want to know which mode does what in flutter..
SAch
  • 69
  • 8
1 2
3
8 9