Ignore:
Timestamp:
Apr 5, 2012, 2:03:52 PM (13 years ago)
Author:
chronos
Message:
  • Modified: Interpretter execution partial implementation.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/IDE/Forms/UFormMain.pas

    r49 r50  
    5757    DebugLog1: TDebugLog;
    5858    ImageList1: TImageList;
    59     MainMenu1: TMainMenu;
     59    MainMenu: TMainMenu;
    6060    MenuItem1: TMenuItem;
    6161    MenuItem10: TMenuItem;
     
    122122    procedure AExitExecute(Sender: TObject);
    123123    procedure AHomepageExecute(Sender: TObject);
     124    procedure APauseExecute(Sender: TObject);
    124125    procedure AProjectCloseExecute(Sender: TObject);
    125126    procedure AProjectNewExecute(Sender: TObject);
     
    128129    procedure AProjectSaveExecute(Sender: TObject);
    129130    procedure ABuildExecute(Sender: TObject);
     131    procedure AResetExecute(Sender: TObject);
     132    procedure ARunExecute(Sender: TObject);
     133    procedure ARunToCursorExecute(Sender: TObject);
     134    procedure AStepInExecute(Sender: TObject);
     135    procedure AStepOutExecute(Sender: TObject);
     136    procedure AStepOverExecute(Sender: TObject);
     137    procedure AStopExecute(Sender: TObject);
    130138    procedure AViewCodeTreeExecute(Sender: TObject);
    131139    procedure AViewCompiledSoruceExecute(Sender: TObject);
     
    254262end;
    255263
     264procedure TFormMain.AResetExecute(Sender: TObject);
     265begin
     266  Compiler.Target.Executor.Reset;
     267end;
     268
     269procedure TFormMain.ARunExecute(Sender: TObject);
     270begin
     271  ABuildExecute(Self);
     272  Compiler.Target.Executor.Run;
     273end;
     274
     275procedure TFormMain.ARunToCursorExecute(Sender: TObject);
     276begin
     277  Compiler.Target.Executor.RunToCursor(0); // determine position
     278end;
     279
     280procedure TFormMain.AStepInExecute(Sender: TObject);
     281begin
     282  Compiler.Target.Executor.StepIn;
     283end;
     284
     285procedure TFormMain.AStepOutExecute(Sender: TObject);
     286begin
     287  Compiler.Target.Executor.StepOut;
     288end;
     289
     290procedure TFormMain.AStepOverExecute(Sender: TObject);
     291begin
     292  Compiler.Target.Executor.StepOver;
     293end;
     294
     295procedure TFormMain.AStopExecute(Sender: TObject);
     296begin
     297  Compiler.Target.Executor.Stop;
     298end;
     299
    256300procedure TFormMain.AViewCodeTreeExecute(Sender: TObject);
    257301begin
     
    591635end;
    592636
     637procedure TFormMain.APauseExecute(Sender: TObject);
     638begin
     639  Compiler.Target.Executor.Pause;
     640end;
     641
    593642procedure TFormMain.AProjectNewExecute(Sender: TObject);
    594643var
Note: See TracChangeset for help on using the changeset viewer.