Project

General

Profile

Bug #3579

Ctrl+Break doesn't breaking an code execution

Added by westor (GR) about 1 year ago. Updated about 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Scripting
Target version:
Start date:
07/13/2017
Due date:
% Done:

0%

Estimated time:
Operative System:
All
Regression:
No

Description

Hello,

I tried to break an code execution but CTRL+Break key shortcut didn't really acting and forcing adiirc to stuck.

Example Code (IT WILL FORCE ADIIRC TO STUCK):

alias test_break {
  var %t = 50
  var %i = 1
  while (%i <= %t) { 
  }
}

- Thanks!

History

#1

Updated by Per Amundsen about 1 year ago

  • Status changed from New to Rejected

When the GUI thread is locked running a loop it doesn't respond to keyboard events in .NET.

#2

Updated by Per Amundsen about 1 year ago

  • Status changed from Rejected to Resolved

I figured out a workaround, polling for keyboard state outside AdiIRC GUI thread, I added a poll each time a /while or /goto line is executed, I am not sure of the performance loss doing it like that, we'll see.

#3

Updated by Per Amundsen about 1 year ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF