ghkweon / dwscript

Automatically exported from code.google.com/p/dwscript
0 stars 0 forks source link

JavaScript Debugger Orders #248

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
1- i need .pas line for .js line or .js line for .pas line equvaliants for 
executable lines.

for example ;

        TdwsCodeGen = class
      public
       ...
      ExecutableLines : TDictionary<integer {JS Output Line},TScriptPos { or like }>;

2- i want to eval function for the .pas file which shall show me the .js output;
for example ;

        Procedure EvalOrModify(S:String):String; ...     
      sample: 
      var 
            exec:String;
          begin        
        exec := EvalOrModify('Form1.Button1.Caption');
      end;

          when evaled function result maybe like that 

           "$As(Sender$3,TButton).fCaption$1"

it think that if u that more people will profit by another users [ firstly m 
surely :) ].

Original issue reported on code.google.com by fake_si...@hotmail.com on 11 Apr 2012 at 2:00

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Both would made more sense if a JS remote debug client was available (chrome 
and probably webkit has such a protocol).

The first one would also need to be integrated into the client-side too (as 
lines numbers wouldn't be significant otherwise)

The 2nd requires some JS debugger support, as the symbols are only valid from 
within the scope of a given closure. If you only deal with root-level symbols, 
you already have it, just use Evaluate & CodeGen that, but being limited to 
root-level symbols, it's of limited use, f.i. you can't reliably eval 
parameters or procedure variables this way. Having it work for anonymous 
methods is another case for which JS debugger support is compulsory.

JS debugger support is possible (Google has it for Java with GWT), but I don't 
know any existing client for Delphi... but if you feel up to the task...

Original comment by zar...@gmail.com on 13 Apr 2012 at 2:59

GoogleCodeExporter commented 8 years ago
 I developed Google Chrome's remote debug protocol for Delphi. He is ready. There is an easy protocol communicates with Json.

Especially my first wish is very important. For the second one is an example of 
me if you would be satisfied.

Original comment by fake_si...@hotmail.com on 13 Apr 2012 at 6:48

GoogleCodeExporter commented 8 years ago
> I developed Google Chrome's remote debug protocol for Delphi.
Anywhere it can be downloaded? :)

Original comment by zar...@gmail.com on 13 Apr 2012 at 6:55

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
my second wish, design, drag and drop will be solved in such works.

Original comment by fake_si...@hotmail.com on 13 Apr 2012 at 8:04

GoogleCodeExporter commented 8 years ago
I share the debugger when the stable release. :)

Original comment by fake_si...@hotmail.com on 13 Apr 2012 at 8:10

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
would u do my first order?

Original comment by fake_si...@hotmail.com on 16 Apr 2012 at 7:00

GoogleCodeExporter commented 8 years ago
By "order" your mean you want to pay for it?

Currently, we're doing a feature freeze for a version release @work, so at the 
moment I'm only doing fixes. After that, the above feature will probably happen 
at some time, but likely not until I can make good use of it myself (and can 
test it).

Original comment by zar...@gmail.com on 17 Apr 2012 at 6:23

GoogleCodeExporter commented 8 years ago

Original comment by zar...@gmail.com on 18 May 2012 at 9:01