How can I disable an exception using ddbg

I am using the d programming language to write a program, and I am trying to use ddbg to debug it. When an exception occurs, I want the program to abort whenever an exception occurs so that I can check the stack.

Alternatively, is there another debugger that works with d? Is there any other way to get a stack trace when an exception occurs?

+3
source share
4 answers

Do you want to break if there are any exceptions or just exceptions are excluded? Because I think the latter is already the default behavior.

, , , "us" ( ). .

, onex. . , , - , .

+1

, , . , , backtrace

+1

Not used ddbg yet, but according to the documentation in http://ddbg.mainia.de/doc.html there is

onex <cmd; CMD; ...> on exception execute a list of commands

teams.

0
source

I saw the onex command, but I could not find the break command. The two commands below do not work.

onex break
onex b
0
source

Source: https://habr.com/ru/post/1696710/


All Articles