• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..13-Feb-2018-

static/H03-May-2022-4940

test/H13-Feb-2018-1712

README.mdH A D13-Feb-2018578 3117

main.goH A D13-Feb-2018546 2520

README.md

1web example
2===========
3
4This is a very simple example of how the `web` package can be used to build
5a web-based front end for GDB.
6
7![Screenshot](http://i.imgur.com/Ql48hXT.png)
8
9Usage
10-----
11
121. move into this directory;
13
142. compile the dummy test program with:
15
16        make -C test/ dummy
17
183. fetch the WebSocket library:
19
20        go get golang.org/x/net/websocket
21
224. start the server with:
23
24        go run main.go
25
26   then load `http://localhost:8080/` in your browser
27
285. load the test program using a relative path `test/dummy`;
29
306. the rest should be straightforward...
31