Project

General

Profile

Feature #3755

DEBUGGER system handle stubs

Added by Greg Shah over 5 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Target version:
-
Start date:
Due date:
% Done:

100%

billable:
No
vendor_id:
GCD
version_reported:
version_resolved:

History

#1 Updated by Greg Shah over 5 years ago

Implement complete conversion support for the DEBUGGER system handle and all attributes/methods. The runtime should be stubbed only. There is no plan to implement real runtime support since this feature set is not typically needed in Java. By having stubs, we can convert and compile code with these features without worry.

  • HANDLE
  • INSTANTIATING-PROCEDURE
  • TYPE
  • VISIBLE
  • CANCEL-BREAK
  • CLEAR
  • DEBUG
  • DISPLAY-MESSAGE
  • INITIATE
  • SET-BREAK

#2 Updated by Constantin Asofiei over 5 years ago

  • % Done changed from 0 to 100
  • Status changed from New to WIP

DEBUGGER support - full conversion and stubbed runtime - is in 3750a rev 11294.

#3 Updated by Constantin Asofiei over 5 years ago

  • Assignee set to Constantin Asofiei
  • Status changed from WIP to Review

#4 Updated by Greg Shah over 5 years ago

  • Status changed from Review to Closed

Code Review Task Branch 3750a Revision 11300

I'm good with the changes.

In the future, I would like to avoid the mapping of legacy attributes/methods to static Java methods. The idea is that for system handles, we would implement a session-level "singleton" and use a static method to obtain a handle that was initialize with that common resource. Then all other legacy attributes and methods would be instance methods on that resource. This has the advantage of being simpler for conversion and it also automatically eliminates the problem of assigning a system handle to another handle and then accessing the attributes/methods from that handle. Anyway, I don't think any changes are needed for this current case. When we shift all the system handles to this approach, we'll change this one too.

Also available in: Atom PDF