отладка

VS2019 step-by-step debugging skips loop iterations

Created a simple code with a loop on Visual Studio 2019: #include <iostream> using namespace std; int main() { i ... with no gaps like the one described? P.S. F9 does not help, it goes into the instruction itself, as, in fact, it should be.

How to view values from std::vector in the Visual Studio 2019 debugger?

There is the simplest code: #include <iostream> #include <vector> int main() { std::vector<int> v {0, ... , and how do I make it display useful information to me, and not the details of the internal implementation of the container?

I don't understand how to find exceptions using the debugger in Android Studio

There is a code that is guaranteed to throw an exception: Exception: I am trying to make such exceptions tracked by the ... rt debugging: As a result, I get this: However, I don't I understand how to use this window to find the thrown exception

Configuring remote debugging of PHP code over SSH in VSCode

There is a server on CentOS 7 with PHP7 installed.2 and Xdebug 2.9.0. On a PC with Windows 10, VSCode is installed, with conf ... ameters of a new type in php. ini, I assumed that I just couldn't master them, but in 2.9 everything happens exactly the same

How to keep track of where the memory goes?

How to track where RAM goes? And where to look when 500mb of RAM is immediately spent at the start? The most doubtful entry ... nt = a.Sum(e => e.Balls) }).OrderByDescending(a => a.Point).ToList(); Is it possible to optimize this somehow?

How to debage asyncio coroutines with GDB?

There is an extension that allows you to use GDB for debugging Python processes, I installed it and tried to use it on my web ... a process for debagging a loaded web application. How can I view the call stack and interrupt / continue coroutines with GDB?

Notice: Undefined offset: 0

Help with the code, with this error, the solutions are all different. Mistake: Notice: Undefined offset: 0 in Drupal\conten ... rls'], ++$depth, $context['results'], $options); } } The error occurs in this line: $context['results'][$key] = [];

Real-time Debug Android Unity

ADb set up how to make sure that when you start the game in the editor, it immediately opens it in the phone, that is, I pressed Play and unity, and the game started through debugging on the phone and the actions were repeated:

step-by-step debugging in PyCharm

How do I run the step-by-step debugger? It's kind of built-in, but when you run Debugger, it just runs the code, and there's no step-by-step. There is no output of variable values at this exact moment of code execution.

Remote debugging of Visual Studio 2017

To debug applicationsVisual Studio 2015 deployed on other computers, I used the remote debugger Remote Debugger Visual Studi ... where the remote debugger for VS2015 was previously installed and successfully paired with it: Microsoft Windows Server 2012

How to connect the GDB debugger for Qt Creator 2.5.2 under Windows?

When debugging a Qt program, it swears at the lack of a debugger. I searched all the settings menu, but I didn't find where to specify the path to the debugger.

What is stack trace, and how to use it to find errors in application development?

Sometimes when I run my app I get a similar error: Exception in thread "main" java.lang.NullPointerException at com.e ... cing. Translation of the question: "What is a stack trace, and how can I use it to debug my application errors?" @Rob Hruska

Android Web Debugging

Hello, you need to distribute the Internet to your phone (Samsung Galaxy S5) from your laptop (Windows 7 64bit). The app on t ... sts to the local virtual web server (Denwer or OpenServer) (127.0.0.1 server.ru). Tell me how to implement it more correctly.

How do I run Evaluate Code Fragment in Intellij IDEA?

How do I run Evaluate Code Fragment in Intellij IDEA (I want to execute arbitrary code during debag)? Example: http://i.stack.imgur.com/1Ubjv.png I can't find such an option, maybe this feature is only available in the ULTIMATE version?

Determining the hang point of a C#program

There is a program that rarely freezes. The program is executed on remote machines, and there is no way to run the debugger. ... or get information about the threads of that process, that would be great. If there's some ready-made tool, then even better.

Error when trying to launch a project in VS 2017 Remote Debugger

I decided to experiment with a remote debugger, after setting it up on a remote computer (it is located on a local network), ... the full path to the file, and it is correct, and accordingly, the file is there. PS As a remote computer, using Windows 10

How and by what means to find errors in PHP code?

When developing, sometimes the code does not work as intended or does not work at all. I sit and wonder: what is wrong and wh ... nd I want them to to be. Question: what are the ways to find errors in PHP code? What tools, methods, plugins, paths, etc.?

The most convenient PHP debugging

How can I use php functions via the console? I.e. write echo 123 in the console and it will display 123 without restarting, etc. I would like objects and arrays to be shown as in the chrome console

How to debug Java 8 streams in Intelij IDEA?

How to debug Java 8 streams in Intelij IDEA? All intermediate calls are lazy and are executed during a terminal operation, so ... e step other than the start and end. System.out. println arrange-somehow unprofessional, are there other ways out of the box?

What should I do if the CSS class doesn't work?

I'm writing a css rule .nav-users { color: red; } But nothing changes on the page: the color remains gray.