mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-10 09:45: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.1=Pass this signal to the program.
|
||||
SignalPropertyPage.2=Suspend the program when this signal happens.
|
||||
SignalPropertyPage.3=Error
|
||||
SignalPropertyPage.4=Operation failed.
|
||||
SignalPropertyPage.5=Unable to change signal properties.
|
||||
SignalPropertyPage.5=Unable to change signal's properties.
|
||||
ModulePropertyPage.0=Type:
|
||||
ModulePropertyPage.1=executable
|
||||
ModulePropertyPage.2=shared library
|
||||
|
|
|
@ -112,15 +112,6 @@ public class SignalPropertyPage extends PropertyPage {
|
|||
DebugPlugin.getDefault().asyncExec(
|
||||
new Runnable() {
|
||||
public void run() {
|
||||
|
||||
|
||||
try {
|
||||
Thread.sleep( 10000 );
|
||||
}
|
||||
catch( InterruptedException e1 ) {
|
||||
// TODO Auto-generated catch block
|
||||
}
|
||||
|
||||
if ( !getSignal().canModify() )
|
||||
return;
|
||||
if ( getPassButton() != null ) {
|
||||
|
@ -128,7 +119,7 @@ public class SignalPropertyPage extends PropertyPage {
|
|||
getSignal().setPassEnabled( getPassButton().isSelected() );
|
||||
}
|
||||
catch( DebugException e ) {
|
||||
failed( PropertyPageMessages.getString( "SignalPropertyPage.4" ), e ); //$NON-NLS-1$
|
||||
failed( PropertyPageMessages.getString( "SignalPropertyPage.5" ), e ); //$NON-NLS-1$
|
||||
}
|
||||
}
|
||||
if ( getStopButton() != null ) {
|
||||
|
@ -136,7 +127,7 @@ public class SignalPropertyPage extends PropertyPage {
|
|||
getSignal().setStopEnabled( getStopButton().isSelected() );
|
||||
}
|
||||
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