-
Notifications
You must be signed in to change notification settings - Fork 28
Proxy source locs #9
Proxy source locs #9
Conversation
Still a bit hackish. We're still storing a single IID map file, and you need to kill the proxy server to write the footer.
@ksen007 ok to merge? |
I am getting path deviation with calc. node src/js/instrument/esnstrument.js tests/tizen/calculator/js/jquery-1.7.2.min.js tests/tizen/calculator/js/peg-0.6.2.min.js tests/tizen/calculator/js/calc.js killall node export JALANGI_MODE=replay On Nov 25, 2013, at 4:18 PM, Manu Sridharan notifications@github.com wrote:
|
Ok, I'll take a look. How do you exercise the app? |
Manu, I believe that the bug got introduced in some previous checkin. You can try 3+4=*5= Koushik On Nov 26, 2013, at 7:23 AM, Manu Sridharan notifications@github.com wrote:
|
Yup, I reproduced. Will fix and add to this pull request |
Hi Manu, The bug was probably introduced in a previous checkin. I do not know which one. This is a problem since we do not run the web app tests automatically. Koushik On Nov 26, 2013, at 9:07 AM, Manu Sridharan notifications@github.com wrote:
|
Yup, I should have been running more of the web app tests; my bad. I think I know where the bug is in this case. If we can find a way to fix #5, we'd be able to do some automatic testing of web apps on Travis. |
I didn't notice the bug in commit f8f498b. Probably it has to do something with the websocket buffer. Koushik On Nov 26, 2013, at 9:13 AM, Manu Sridharan notifications@github.com wrote:
|
I believe I've fixed the bug. The issue was that during record, the trace could include a single line that was bigger than MAX_BUF_SIZE (due to serializing ASTs). I've tested on annex, calculator, and go now, and don't see any path deviations. |
A record in the trace can have unbounded length. This happens if a large string is logged. The length of a packet sent to the server can, therefore, have a length that is independent of MAX_BUF_SIZE. So socket.js should be modified to have the following definition. wsServer = new WebSocketServer({ Koushik On Nov 26, 2013, at 11:44 AM, Manu Sridharan notifications@github.com wrote:
|
Basic support for proxy source locations. Also allows websocket server to be invoked as a module, so proxy server and websocket server now start together