Skip to main content

All Questions

Tagged with
-2 votes
0 answers
37 views

Can I get the Python interpreter to print stack traces with one line per frame rather than two?

When an exception is raised in Python, we get something like: Location source line Location source line Location source line yet - I would rather have one line per "stack frame", e.g.:...
einpoklum's user avatar
  • 133k
-1 votes
0 answers
22 views

Break on user-unhandled exceptions in async code in dotnet 9?

This is a question about an ages-old problem which, according to new developments, should have just recently received a solution, but the solution does not seem to work for me. The ages-old problem: ...
Mike Nakis's user avatar
  • 62.4k
0 votes
0 answers
160 views

Windows Application Crash with Exception 0xC015000F: Is an Uncaught User Exception the Root Cause?

I am currently investigating a crash dump from a client site, as I cannot debug it in live mode. In short, the application crashes with the exception code 0xC015000F, which indicates that "the ...
Alim Abaev's user avatar
0 votes
1 answer
58 views

How do I properly handle exceptions in Python without losing the traceback information?

I'm working on a Python application where I need to gracefully handle exceptions and log useful information for debugging purposes. Specifically, I want to catch exceptions that occur during runtime, ...
AkshatTm's user avatar
0 votes
0 answers
36 views

what can cause this error? Illuminate\Database\QueryException [duplicate]

I am trying to work on an existing laravel project when I clone and run php artisan migrate I get this error Illuminate\Database\QueryException SQLSTATE[HY000] [2002] No such file or directory (SQL: ...
CHE NSOH's user avatar
1 vote
1 answer
81 views

How do I break when exception of type of Newtonsoft.Json.JsonReaderException occurs

Usually I use try catch. Then I look at the type of the exception caught. Then I set that visual studio break on that exception. But I can't use this technique anymore Basically I want visual studio ...
user4951's user avatar
  • 33.2k
0 votes
2 answers
66 views

Cannot fix RangeError Flutter

I'm currently developing a todo app as taught in this tutorial on Youtube https://www.youtube.com/watch?v=TclK5gNM_PM I'm trying to practice fundamentals and decided to make a todo app for an entire ...
Zey Roax's user avatar
2 votes
0 answers
120 views

Blazor serverside - why is exception not thrown when in task ? How to avoid this ? It just freezes the app in debug

In my Blazor server app, I have the famous 'counter' page / button private void IncrementCount() { currentCount++; throw new Exception("test"); } This is ok - exception is thrown. ...
Dorian's user avatar
  • 1,021
0 votes
0 answers
112 views

Break when this exception type is thrown doesn't work in VS2022 when calling .NET API

When I upgraded to VS2022, I noticed that when exceptions are thrown the debugger often fails to show me the line that threw it. Instead it just displays: Exception thrown: '<exception type>' in ...
Jim C's user avatar
  • 4,648
0 votes
0 answers
56 views

Propagating debug info and using exceptions

I sometime encounter the next problem - how to use exceptions, while maintaining debug context from various stack calls. I'll present it with a simple example void foo() { for (int i=0;i<100;++i)...
tamir's user avatar
  • 99
1 vote
0 answers
114 views

question about using arm64 hardware debug registers in EL1 level

I'm debugging a task stack base step bug of a rtos operation system running in aarch64 EL1, the addr is 4k aligned, like: 0xFFFFxxxx8000. i tried bellow debugging code to expect that when i write any ...
csmiss's user avatar
  • 21
0 votes
1 answer
243 views

Exception occurs only in debug mode

I'm developing a C++ project by Visual Studio 2015 Pro update 2. My sample code is as below: MyClass.h class MyClass { vector<int> vectorBig; ... Constructor declare } MyClass.cpp ...
Hồ Thiên Phúc's user avatar
0 votes
1 answer
142 views

How can I trace a program by step in?

Main problem: I'm trying to write my own tracer, but I can't find any material on how I can trace the program itself, there is no information in msdn about EXCEPTION_SINGLE_STEP and how it can be ...
Leo Galante's user avatar
0 votes
0 answers
40 views

How can I fix this Headless Exception?

This is a class that tells java to load and display a picture in my directory, it looks like the display function (which makes a picture popup GUI) is making a headless exception. This is the main ...
Eric Liu's user avatar
1 vote
0 answers
108 views

Unity. How to prevent VS Code stop on UnityEngine.ExitGUIException?

Unity ver 2022.3.0. Visual Studio Code ver 1.77.0 VS Code is attached to Unity as a debugger. Each time when I press Add Component button to any game object in the scene -- ExitGUIException is raised ...
Newbee's user avatar
  • 1,032

15 30 50 per page
1
2 3 4 5
42