mirror of https://gitlab.com/basile.b/dexed.git
fix #41 - GDB commander doesn't break on exceptions if program was compiled with LDC2
This commit is contained in:
parent
5c37dc198c
commit
146fcc5732
|
@ -1987,7 +1987,10 @@ begin
|
||||||
if (_d_throwc in fOptions.coreBreakingSymbols) then
|
if (_d_throwc in fOptions.coreBreakingSymbols) then
|
||||||
gdbCommand('-break-insert --function _d_throwc');
|
gdbCommand('-break-insert --function _d_throwc');
|
||||||
if (_d_throwdwarf in fOptions.coreBreakingSymbols) then
|
if (_d_throwdwarf in fOptions.coreBreakingSymbols) then
|
||||||
gdbCommand('-break-insert --function _d_throwdwarf');
|
begin
|
||||||
|
gdbCommand('-break-insert --function _d_throwdwarf'); // DMD
|
||||||
|
gdbCommand('-break-insert --function _d_throw_exception'); // LDC
|
||||||
|
end;
|
||||||
if (_d_assertm in fOptions.coreBreakingSymbols) then
|
if (_d_assertm in fOptions.coreBreakingSymbols) then
|
||||||
gdbCommand('-break-insert --function _d_assertm');
|
gdbCommand('-break-insert --function _d_assertm');
|
||||||
if (_d_assert in fOptions.coreBreakingSymbols) then
|
if (_d_assert in fOptions.coreBreakingSymbols) then
|
||||||
|
|
Loading…
Reference in New Issue