mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-23 17:05:26 +02:00
Stop in main when restarting.
This commit is contained in:
parent
118c87d65c
commit
de190fac8a
1 changed files with 2 additions and 0 deletions
|
@ -873,6 +873,8 @@ public class CDebugTarget extends CDebugElement
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
ICDILocation location = getCDISession().getBreakpointManager().createLocation( "", "main", 0 );
|
||||||
|
setInternalTemporaryBreakpoint( location );
|
||||||
getCDITarget().restart();
|
getCDITarget().restart();
|
||||||
restarted();
|
restarted();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue