tagged [debugging]

What's the best strategy to diagnose/determine what is causing mixed-content warnings in your web application?

What's the best strategy to diagnose/determine what is causing mixed-content warnings in your web application? Is there some sort of profiling tool available? View source and search/replace?

7 Jan at 19:27

View array in Visual Studio debugger?

View array in Visual Studio debugger? Is it possible to view an array in the Visual Studio debugger? QuickWatch only shows the first element of the array.

Parallel.ForEach Debug or Step Through

Parallel.ForEach Debug or Step Through Is there an easy way to step through a parallel.foreach? What is the best way to debug this with a break point?

19 Jun at 20:37

How can I use DebugBreak() in C#?

How can I use DebugBreak() in C#? What is the syntax and which namespace/class needs to be imported? Give me sample code if possible. It would be of great help.

18 Dec at 00:47

How to quickly and conveniently disable all console.log statements in my code?

How to quickly and conveniently disable all console.log statements in my code? Is there any way to turn off all `console.log` statements in my JavaScript code, for testing purposes?

28 Feb at 08:16

Generate PDB from .NET DLL file?

Generate PDB from .NET DLL file? I need something that can generate a PDB from a DLL file (C# .NET code), is there any program to do that?

Break point not hit in Visual Studio Remote Debugging

Break point not hit in Visual Studio Remote Debugging Pls don't mark it as duplicate .. bcoz I have seen all the solutions but nothing is working for my case.. I have two machines and in I am developi...

JavaScript: How do I print a message to the error console?

JavaScript: How do I print a message to the error console? How can I print a message to the error console, preferably including a variable? For example, something like:

12 Jul at 17:23

How do I find the stack trace in Visual Studio?

How do I find the stack trace in Visual Studio? I ask because I couldn't find the stack trace in Visual Studio, while debugging an exception that occurred.

How to debug Ruby scripts

How to debug Ruby scripts I copied the following Ruby code from the Internet and made a few changes but it doesn't work. What can I do to debug the program by myself?

26 Feb at 22:24

Debugging doesn't start

Debugging doesn't start When I hit F5 (debugging mode) nothing happens. Building works correctly, exe file I can launch properly, but can't start debug. Why?

Given a view, how do I get its viewController?

Given a view, how do I get its viewController? I have a pointer to a `UIView`. How do I access its `UIViewController`? `[self superview]` is another `UIView`, but not the `UIViewController`, right?

What is the usage of #if DEBUG pre-processor directive in C#? When must we use this?

What is the usage of #if DEBUG pre-processor directive in C#? When must we use this? What is the usage of `#if DEBUG` pre-processor directive in C#? When must we use this?

8 Jul at 20:20

Debugging raw view content

Debugging raw view content When inspecting an object in debug mode, there is sometimes, if not always, a Raw View that can be expanded. What is this? Can I access this in my code?

4 Sep at 21:30

See stacktrace after deadlock

See stacktrace after deadlock My application is being executed in debug mode and then deadlock happens. Is there any way to see the stacktrace before deadlock or at least the last called method?

18 May at 12:7

#if DEBUG vs. Conditional("DEBUG")

#if DEBUG vs. Conditional("DEBUG") Which is better to use, and why, on a large project: or

gdb: how to print the current line or find the current line number?

gdb: how to print the current line or find the current line number? `list` commands prints a set of lines, but I need one single line, where I am and where an error has probably occurred.

10 Jun at 19:15

What are Java command line options to set to allow JVM to be remotely debugged?

What are Java command line options to set to allow JVM to be remotely debugged? I know there's some `JAVA_OPTS` to set to remotely debug a Java program. What are they and what do they mean ?

17 Apr at 10:55

How to show full object in Chrome console

How to show full object in Chrome console this only show the function part of the functor, cannot show the properties of the functor in console.

What are tracepoints used for?

What are tracepoints used for? They can only be placed on method names. How are they used and what are they for? ![enter image description here](https://i.stack.imgur.com/UJVwc.png)

Debugger not breaking/stopping for exceptions in async method

Debugger not breaking/stopping for exceptions in async method When a debugger is attached to a .NET process, it (usually) stops when an unhandled exception is thrown. However, this doesn't seem to wor...

How to execute code only in debug mode in ASP.NET

How to execute code only in debug mode in ASP.NET I have an ASP.NET web application and I have some code that I want to execute only in the debug version. How to do this?

14 Nov at 16:48

Adding DebuggerStepThrough attribute to class

Adding DebuggerStepThrough attribute to class I want to add [DebuggerStepThrough](http://msdn.microsoft.com/en-us/library/system.diagnostics.debuggerstepthroughattribute.aspx) attribute to all methods...

27 Nov at 11:51

Visual Studio 2013 remote debugging, auto deploy?

Visual Studio 2013 remote debugging, auto deploy? When I tried remote debugging with Windows Store applications (Metro applications), it was very easy. In the Start drop down I could choose one of the...

Application error

Application error HI, I'm getting following error when I run the application after building it. Any solution to this problem is appreciated. "The application failed to initialize properly (0xc0000022...

15 Jul at 03:43