Skip to content

Fix #1620:ModBreaks.modBreaks_array not initialised

Roland Senn requested to merge RolandSenn/ghc:T1620 into master

After a :cd command and after setting some package flags, GHCi unloads all loaded modules by resetting the list of targets.

This patch deletes eventually defined debugger breakpoints, before GHCi resets the target list.

The common code is factored out into the new function clearAllTargets.

Edited by Roland Senn

Merge request reports