Trying to debug dart2js code

14 views
Skip to first unread message

Rat Jo

unread,
Aug 27, 2014, 2:23:03 PM8/27/14
to nod...@googlegroups.com
Hi,

I'm trying to debug dart2js code, but I have problem setting breakpoints. 

All the code is made in a way that all functions is attribute of object:

["main_server", "main.dart", , K, {
 
"^": "",
  main
: function() {
   
var t1, express, path, app, list_sql_table, t2, sql_table;
    t1
= $.get$context();
    express
= J.$index$asx(t1, "nodejs").callMethod$2("require", ["express.io"]);
    path
= J.$index$asx(t1, "nodejs").callMethod$2("require", ["path"]);
   
}
    P
.print("Listening on port " + H.S($.port) + "... (open your browser at localhost: " + H.S($.port) + ")");
    app
.callMethod$2("listen", [$.port]);
 
}
},
1],
]);
Isolate.$finishClasses($$, $, null);
$$
= null;


When I try to set breakpoint at the line "t1 = $.get$context();", it just doesn't allow me set the breakpoint at the last line.

Jo
Reply all
Reply to author
Forward
0 new messages