AVR8, a Schematic Disables the Debugger

Quote from KerimF on April 22, 2025, 11:31 pmSimulIDE_1.1.0-R2055_Win32, W7
ATmega8 [IC unit fixed]
The debugger runs properly with the schematic ‘PowerAC_01_2T_v3.sim1’, though the Triac and its load (resistor 27.48 Ohm) are supplied wrongly by 311V sinewave generator [in parallel with the 5V supply]
The debugger cannot run the simulation with the schematic ‘PowerAC_01_2T_v4.sim1’, though the Triac and its load (resistor 27.48 Ohm) are supplied properly by 311V sinewave voltage [by using an isolated controlled source].
Thank you.
SimulIDE_1.1.0-R2055_Win32, W7
ATmega8 [IC unit fixed]
The debugger runs properly with the schematic ‘PowerAC_01_2T_v3.sim1’, though the Triac and its load (resistor 27.48 Ohm) are supplied wrongly by 311V sinewave generator [in parallel with the 5V supply]
The debugger cannot run the simulation with the schematic ‘PowerAC_01_2T_v4.sim1’, though the Triac and its load (resistor 27.48 Ohm) are supplied properly by 311V sinewave voltage [by using an isolated controlled source].
Thank you.
Uploaded files:

Quote from KerimF on April 23, 2025, 4:52 amBy a close look, the problem in ‘PowerAC_01_2T_v4.sim1’ is related to grounding. The ground of its 311V sinewave voltage source, Vac, is of the circuit.
But the ground of the upper isolated controlled source is Vac0 (an isolated ground) while the ground of Vac at its positive input is of the circuit, not Vac0.
I wonder how this situation could be solved.
Thank you.
Added:
Sorry, it is solved simply by connecting the negative input of the controlled source to the circuit ground instead of Vac0.
By a close look, the problem in ‘PowerAC_01_2T_v4.sim1’ is related to grounding. The ground of its 311V sinewave voltage source, Vac, is of the circuit.
But the ground of the upper isolated controlled source is Vac0 (an isolated ground) while the ground of Vac at its positive input is of the circuit, not Vac0.
I wonder how this situation could be solved.
Thank you.
Added:
Sorry, it is solved simply by connecting the negative input of the controlled source to the circuit ground instead of Vac0.
Uploaded files: