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
0
votes
0 answers

Firebase addListenerForSingleValueEvent the debug mode works differently from the normal mode

I have a calendar page in my project. When I run code, the addListenerForSingleValueEvent function gets random data. The data comes in a sequential manner when I run with Debug mode. Why does the normal mode work differently from the debug…
0
votes
2 answers

Array populated in debug more but not in in normal mode in Node.js

In the code below, when I run in debug mode with a break-point at this line: content.push(data.Body.toString()); I can see that data is inserted to the content array. However when I run the code normally, content comes back empty. How can I get it…
Kenobi
  • 465
  • 6
  • 13
0
votes
1 answer

Eclipse failed to start with exit code 160 when enable debug mode

I am trying to enable debugging mode in Rational Software Architect 9.6 (eclipse based) on Ubuntu 14.04 64 bit. I followed the instructions in this link for Setting up the pluglet debugging support. I created a new eclipse_debug.ini as…
aibrahim
  • 229
  • 2
  • 4
0
votes
0 answers

Build .NET app without optimization in debug mode

How can I build .NET assembly in debug mode without optimization? dotnet build --configuration Debug I built a simple .Net Core console app with the above command, but the compiler still optimized my code, what can I do to prevent it? This is my…
MiP
  • 5,846
  • 3
  • 26
  • 41
0
votes
0 answers

Locale decimal separator (point or comma) fails in release mode but works in debug mode (VS2010 / QT 5.61)

We have created a xml based script interpreter which assembles parts within a CAD system (VS2010, C++). With German locale settings (comma as decimal separator) the DLL, compiled for release, fails while interpreting a float from the XML file. Seems…
0
votes
1 answer

Custom allocator only compiles in Release mode in VS 2015

I wrote a simple dummy allocator for vector<> so that I can use vector<> as a wrapper for stack arrays, like so: #include #include "stdio.h" #include "stack_allocator.h" using namespace std; int main() { int buffer[100]; …
MathuSum Mut
  • 2,765
  • 3
  • 27
  • 59
0
votes
1 answer

Get exect match and matched data from mongodb using $text

I am trying to use the following query in MongoDB. 1) db.products.createIndex({ name: "text",category.name':"text"}) this will create a Index. 2) Now my query is db.products.find({$text:{$search:"Sun moon Tapestry"}}) this will bring…
0
votes
1 answer

Site runs slow both in debug mode and after deploying to server, but is faster after clicking "stop debugging"

I've got an asp.net application, it is running very slow when debugging. I know this is common, but even when it's deployed it is running slow. I'm talking 7-10 second delays to post a page in some cases. If I run it in debug mode and click "stop…
Kevin
  • 827
  • 1
  • 7
  • 18
0
votes
0 answers

Debug / release mode — different behavior

Two threads (main thread and another thread called T) have access to the same boolean field. T does nothing but while (_bool) { } and Main assigns false to _bool after 2 seconds. On Debug, T exits the loop. On Release, T never exits the…
johni
  • 5,342
  • 6
  • 42
  • 70
0
votes
2 answers

Cannot start Pivotal-tc server in DEBUG mode

I am using STS 3.6.4 Release. I am able to run Pivotal-tc server in normal mode, but it fails while running in debug mode. It was working fine. I tried increasing server timeout to 480s, cleaning work directory etc, but it did not help. Please…
Jithu M
  • 1
  • 2
0
votes
0 answers

Nodejs webstorm socket.io wont start in debug mode

I have a nodejs application and its working with socket.io I have the currect configuration in webstorm when running the application it works and show in console: info - socket.io started but when starting application in debug mode, wont show this…
Reza Akraminejad
  • 1,412
  • 3
  • 24
  • 38
0
votes
1 answer

WP SharpPDF NuGet Package

I have a problem when I use the Windows App Certification Kit with the SharPDF-SL.dll. The test fails and says The binary SharpPDF-SL.dll is built in debug mode. I downloaded this library with NuGet so I can't rebuild the dll in release mode.…
0
votes
1 answer

Why starting a Application Server in DEBUG mode expensive

What makes starting a Application Server (any piece of software for that matter) in DEBUG mode expensive? Would it not be liberty to be able to hook on to a production box and be able to walk through the code? What is the price that we pay if a…
TheMonkWhoSoldHisCode
  • 2,182
  • 3
  • 26
  • 40
0
votes
1 answer

Why would Silverlight be crashing in Release but not in Debug mode?

I have a Silverlight App that has worked well in Debug and Release modes for weeks. It still works well in Debug mode. However, now when I run it in Release mode, it starts, shows me the screen, loads the data, then hangs, and the browser (Firefox)…
Edward Tanguay
  • 189,012
  • 314
  • 712
  • 1,047
0
votes
1 answer

Weird behavior of std::vector

I have a class like this: class OBJ{...}; class A { public: vector v; A(int SZ){v.clear(); v.reserve(SZ);} }; A *a = new A(123); OBJ something; a->v.push_back(something); This is a simplified version of my code. The problem is in…
Nima
  • 854
  • 3
  • 11
  • 18
1 2 3
8 9