mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-13 03:05:39 +02:00
Bug 84816: The modification of the signal properties should be done in the background.
This commit is contained in:
parent
152ee3e5ec
commit
15b620d7f0
2 changed files with 3 additions and 13 deletions
|
@ -33,9 +33,8 @@ ThreadFilterEditor.0=&Restrict to Selected Targets and Threads:
|
||||||
SignalPropertyPage.0=Description: {0}.
|
SignalPropertyPage.0=Description: {0}.
|
||||||
SignalPropertyPage.1=Pass this signal to the program.
|
SignalPropertyPage.1=Pass this signal to the program.
|
||||||
SignalPropertyPage.2=Suspend the program when this signal happens.
|
SignalPropertyPage.2=Suspend the program when this signal happens.
|
||||||
SignalPropertyPage.3=Error
|
|
||||||
SignalPropertyPage.4=Operation failed.
|
SignalPropertyPage.4=Operation failed.
|
||||||
SignalPropertyPage.5=Unable to change signal properties.
|
SignalPropertyPage.5=Unable to change signal's properties.
|
||||||
ModulePropertyPage.0=Type:
|
ModulePropertyPage.0=Type:
|
||||||
ModulePropertyPage.1=executable
|
ModulePropertyPage.1=executable
|
||||||
ModulePropertyPage.2=shared library
|
ModulePropertyPage.2=shared library
|
||||||
|
|
|
@ -112,15 +112,6 @@ public class SignalPropertyPage extends PropertyPage {
|
||||||
DebugPlugin.getDefault().asyncExec(
|
DebugPlugin.getDefault().asyncExec(
|
||||||
new Runnable() {
|
new Runnable() {
|
||||||
public void run() {
|
public void run() {
|
||||||
|
|
||||||
|
|
||||||
try {
|
|
||||||
Thread.sleep( 10000 );
|
|
||||||
}
|
|
||||||
catch( InterruptedException e1 ) {
|
|
||||||
// TODO Auto-generated catch block
|
|
||||||
}
|
|
||||||
|
|
||||||
if ( !getSignal().canModify() )
|
if ( !getSignal().canModify() )
|
||||||
return;
|
return;
|
||||||
if ( getPassButton() != null ) {
|
if ( getPassButton() != null ) {
|
||||||
|
@ -128,7 +119,7 @@ public class SignalPropertyPage extends PropertyPage {
|
||||||
getSignal().setPassEnabled( getPassButton().isSelected() );
|
getSignal().setPassEnabled( getPassButton().isSelected() );
|
||||||
}
|
}
|
||||||
catch( DebugException e ) {
|
catch( DebugException e ) {
|
||||||
failed( PropertyPageMessages.getString( "SignalPropertyPage.4" ), e ); //$NON-NLS-1$
|
failed( PropertyPageMessages.getString( "SignalPropertyPage.5" ), e ); //$NON-NLS-1$
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if ( getStopButton() != null ) {
|
if ( getStopButton() != null ) {
|
||||||
|
@ -136,7 +127,7 @@ public class SignalPropertyPage extends PropertyPage {
|
||||||
getSignal().setStopEnabled( getStopButton().isSelected() );
|
getSignal().setStopEnabled( getStopButton().isSelected() );
|
||||||
}
|
}
|
||||||
catch( DebugException e ) {
|
catch( DebugException e ) {
|
||||||
failed( PropertyPageMessages.getString( "SignalPropertyPage.4" ), e ); //$NON-NLS-1$
|
failed( PropertyPageMessages.getString( "SignalPropertyPage.5" ), e ); //$NON-NLS-1$
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue