Category "debugging"

Why are my breakpoints not hit in CLion?

I'm trying to debug an executable which has been created with CMake configuration SET(CMAKE_BUILD_TYPE Debug) However, CLion does not hit any breakpoints. Wh

Why does the node inspector not start when I am using nodemon and ts-node?

I have a simple node server written in typescript. My package.json is configured as: "scripts": { "build": "tsc", "dev": "nodemon --watch src/**/* -e ts,js

Find if the array contain a 2 next to a 2

I am stuck on this problem Given an array of ints, return True if the array contains a 2 next to a 2 somewhere. has22([1, 2, 2]) → True has22([1, 2,

Run VSCode JS debug launch configuration from integrated terminal

Currently when there's a need to debug a JS one could create a debug configuration, go to debug tab and hit play on the chose launch configuration. Is it possib

Debugging Numpy VisibleDeprecationWarning (ndarray from ragged nested sequences)

Since NumPy version 19.0, one must specify dtype=object when creating an array from "ragged" sequences. I'm faced with a large number of array calls from my own

How to improve the display of variables which are objects in the xcode 4.5 debugger

I'm using Xcode 4.5 on Mac with the iOS simulator to write iPhone apps. When I hit a breakpoint in the debugger, I use the "Auto" to look at variables. The prob

Jump to current line being executed in cgdb

Is it possible to jump to current line being executed in the Source Window of cgdb? It would be great to have a command or a shortcut to do this, especially a

Debugging a driver with WinDbg - How set a breakpoint at DriverEntry?

I have a driver which is, for some unknown reasons causing a bugcheck 0x0000003b. So I decided to set up a Hyper-V VM and use kernel debugging to see what exa

In visual studio, how do you break the debugger when a property changes that you do not own in a managed language (like C#)

I've got a weird situation where something is setting the TopMost property of the main MDI form to true. After much trial and error we're pretty sure this must

how to debug with xUnit?

I'm learning xUnit and so far, have found it to be a most useful tool. It's making me rethink some of my coding tactics to TDD instead. However, I've come acro

IntelliJ IDEA 2017.1 does not stop on breakpoints

I have an old Gradle project that I've opened recently using the new IDEA 2017 and I have just noticed it will not stop on breakpoints anymore (these are active

How can I log each request/response using Alamofire?

Is there a way to log each request / response using Alamofire (something similar to AFNetworkActivityLogger) ? I am aware of Printable, DebugPrintable and Outp

Download all .net PDB's to my computer?

In order to use source stepp debugging : And to use navigation to sources , in Resharper : –I must have the PDB's. But VS downloads every time a

Unexpected Program exit with Code 0xC0000417 (Invalid C-Runtime Parameter)

After upgrading a big project to Visual Studio 2013, the program cased a crash (Program stopped working) on a normal computer. Now when I debug this program in

iPhone constantly disconnecting while working in Xcode

I've been developing an app for a while and I haven't had any problems running the app on the device.. now a few days ago, whenever I connect the iPhone, it pla

Javascript execution tracking in Chrome - how?

I have ~ 100-200 javascript functions loaded on a web-site. I want to determine what javascript function is executed when i click one item or another in Google

How to debug Apps in Android Enterprise Work Profile

I've just started developing with Android Enterprise and need to deploy an app in work profile. My policy (see below) allows installation of apk with debug bu

Unable to debug VSIX project

I'm trying to develop my first visual studio extensions project, I have VS10 SDK installed and was able to create a new project and can build it fine, however w

Yii2: How do I debug console commands?

The Yii2 debugger seems to only work for web requests. How can I debug console commands (CLI)? Eg. I need to see the SQL statements that were executed during a

Using Chrome, how to find to which events are bound to an element

Lets suppose I've a link on my page: <a href="#" id="foo">Click Here</a> I don't know anything else, but when I click on the link, an alert("bar"