TechnionYP5777 / Bugquery

Bug query
9 stars 1 forks source link

Send Trace to Browser #21

Closed yosefraisman closed 7 years ago

yosefraisman commented 7 years ago

Decide on, and implement in class SendTrace, a function that open up a webpage with the trace we got as input (replacing the current stub, which prints out the trace to a MessageDialog).

Options:

~Temporarily, url will be some version of "https://www.google.com/#q=" + trace + " site:stackoverflow"~ The finished version of this issue opens a window in the default web browser with a request (containing the stack trace) in the following address: http://localhost:8080/BugQueryServerSide/result.jsp?q=query.

yosefraisman commented 7 years ago

Successfully implemented. Once we have a version of BugQuery online, we'll revisit.

yosefraisman commented 7 years ago

We now have a version running on a Tomcat server, so I enhanced class SendTrace to support sending a GET request with the extracted trace to the server in localhost:8080.

yossigil commented 7 years ago

:+1: