Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(431)

Side by Side Diff: samples/gdb-integration.js

Issue 6995161: Extend gdb-jit support (OSX/locals+parameters/prettyprint) (Closed) Base URL: git://github.com/v8/v8.git@master
Patch Set: Created 9 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 function Initialize() { }
2
3 function ProcessLine(input_line) {
4 return ">>>" + input_line + "<<<";
5 }
6
7 function gdbSomeFunction(va, vb, vc) {
8 var lva = va;
9 var lvb = vb;
10 var lvc = vc;
11 debug_break();
12 return v + 1;
13 }
14
15 while (true) {
16 var result = gdbSomeFunction(42, -42, 0xBAADF00DCAFE);
17 print(result);
18 debug_break();
19 var line = read_line();
20 if (!line) {
21 break;
22 }
23 var res = line + " | " + line;
24 print(res);
25 }
26
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698