CN106708717A - Development debugging method and device - Google Patents

Development debugging method and device Download PDF

Info

Publication number
CN106708717A
CN106708717A CN201510423377.2A CN201510423377A CN106708717A CN 106708717 A CN106708717 A CN 106708717A CN 201510423377 A CN201510423377 A CN 201510423377A CN 106708717 A CN106708717 A CN 106708717A
Authority
CN
China
Prior art keywords
debugging
journals
networked
request
fiddler
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201510423377.2A
Other languages
Chinese (zh)
Other versions
CN106708717B (en
Inventor
王梦杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Beijing Co Ltd
Original Assignee
Tencent Technology Beijing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Beijing Co Ltd filed Critical Tencent Technology Beijing Co Ltd
Priority to CN201510423377.2A priority Critical patent/CN106708717B/en
Publication of CN106708717A publication Critical patent/CN106708717A/en
Application granted granted Critical
Publication of CN106708717B publication Critical patent/CN106708717B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

The embodiment of the invention discloses a development debugging method. The method comprises the following steps that when a program runs to a code debugging position, sending a network debugging request which carries debugging information to a virtual server; using a pre-installed debugging agent tool Fiddler to intercept the network debugging request, and obtaining the debugging information from the intercepted network debugging request through a pre-compiled plugin in the debugging agent tool Fiddler; and displaying the obtained debugging information as the response content of the network debugging request to prompt a user to debug the program. The embodiment of the invention also discloses a development debugging device. When the embodiment of the invention is adopted, development debugging efficiency can be improved, and the stability and the safety of development debugging can be improved.

Description

One kind exploitation adjustment method and device
Technical field
The present invention relates to a kind of Internet technical field, more particularly to a kind of exploitation adjustment method and device.
Background technology
Now with the high speed development of mobile Internet, the web front-end exploitation of mobile terminal is more and more.Receive It is limited to the influence of mobile terminal performance, screen size, the instrument for prototype debugging especially lacks, therefore has Necessity provides a kind of web front-end debugging technique suitable for prototype debugging, wherein, prototype debugging is using true Machine is (such as:Mobile terminal) tested and obtained prototype run when Debugging message adjustment method.Existing In having a technical scheme, mainly including following several debugging plans:First kind alert points out box type, the type Inserted in code " alert (' some debug info ') " sentence, when code runs to debugging line, in the page Ejection prompting frame, shows Debugging message;Equations of The Second Kind page console console types, the type is in the page A debugging control platform is built, Debugging message can be printed upon in the page at any time;3rd class jsconsole types, Debugging message is sent to jsconsole services in the way of network request first by websocket for the type Device, then jsconsole servers by Debugging message return client shown.But, it is above-mentioned several to open Hair debud mode is likely to occur the page and blocks, debugs the technologies such as unstable or reliance server display speed is slow Problem.
The content of the invention
Embodiment of the present invention technical problem to be solved is, there is provided a kind of method and device for developing debugging, Exploitation debugging efficiency can be improved, and improves the stability and security of exploitation debugging.
In order to solve the above-mentioned technical problem, a kind of method for developing debugging is the embodiment of the invention provides, including:
When program is run at debugging code, the network tune for carrying Debugging message is sent to virtual server Examination request;
The Networked E-Journals are intercepted using the debugging proxy instrument Fiddler of prepackage to ask, and by the debugging Act on behalf of the plug-in unit write in advance in instrument Fiddler and obtain the debugging from the Networked E-Journals request for intercepting Information;
The response contents that the Debugging message asks as the Networked E-Journals will be got to be shown to point out User debugs to described program.
Optionally, the debugging proxy instrument Fiddler using prepackage intercepts the Networked E-Journals and asks to include:
Using the debugging proxy instrument Fiddler of prepackage, the network is intercepted by the network port of preset monitored Debugging request.
Optionally, the Networked E-Journals request includes that debugging session is identified, the debugging proxy using prepackage Instrument Fiddler intercepts the Networked E-Journals request, and by being compiled in advance in the debugging proxy instrument Fiddler The plug-in unit write obtains the Debugging message from the Networked E-Journals request for intercepting to be included:
Identified according to the debugging session, the Networked E-Journals request is inquired about from the multiple service requests for intercepting;
The Debugging message is obtained from the Networked E-Journals request for inquiring.
Optionally, it is described to get the response contents that the Debugging message asks as the Networked E-Journals and enter Row display is included with pointing out user to carry out debugging to described program:
The Debugging message is converted into JSON data types from character string type to be shown.
Optionally, it is described when program is run at debugging code, sent to virtual server and carry debugging Before the Networked E-Journals request of information, also include:
Set up the network connection with the virtual server.
Correspondingly, a kind of device for developing debugging is the embodiment of the invention provides, including:
Request sending module, for when program is run at debugging code, being sent to virtual server and being carried The Networked E-Journals for having Debugging message are asked;
Data obtaining module, intercepting the Networked E-Journals for the debugging proxy instrument Fiddler using prepackage please Ask, and by the advance plug-in unit write in the debugging proxy instrument Fiddler from the Networked E-Journals for intercepting The Debugging message is obtained in request;
Information display module, for the response that the Debugging message is asked as the Networked E-Journals will to be got Content is shown to point out user to debug described program.
Optionally, described information acquisition module specifically for:
Using the debugging proxy instrument Fiddler of prepackage, the network is intercepted by the network port of preset monitored Debugging request.
Optionally, described information acquisition module includes:
Requesting query unit, for being identified according to the debugging session, looks into from the multiple service requests for intercepting Ask the Networked E-Journals request;
Information acquisition unit, for obtaining the Debugging message from the Networked E-Journals request for inquiring.
Optionally, described information display module, is additionally operable to be converted into the Debugging message from character string type JSON data types are shown.
Optionally, described device also includes:
Connection establishment module, for setting up the network connection with the virtual server.
Networked E-Journals request is initiated in the embodiment of the present invention first when program is run at debugging code;Then Networked E-Journals are intercepted using the debugging proxy instrument Fiddler of prepackage to ask, and by debugging proxy instrument The plug-in unit write in advance in Fiddler obtains Debugging message from the Networked E-Journals request for intercepting, finally will be from net Network debugging request gets Debugging message and is shown as the response contents that Networked E-Journals are asked, debugging it is whole Individual process can not only improve exploitation debugging efficiency locally completing, and improve exploitation debugging Stability and security.
Brief description of the drawings
Technical scheme in order to illustrate more clearly the embodiments of the present invention, below will be to needed for embodiment description The accompanying drawing to be used is briefly described, it should be apparent that, drawings in the following description are more of the invention Embodiment, for those of ordinary skill in the art, on the premise of not paying creative work, may be used also Other accompanying drawings are obtained with according to these accompanying drawings.
Fig. 1 is a kind of schematic flow sheet of first embodiment for developing adjustment method proposed by the present invention;
Fig. 2 is Debugging message display effect schematic diagram provided in an embodiment of the present invention;
Fig. 3 is a kind of schematic flow sheet of second embodiment for developing adjustment method proposed by the present invention;
Fig. 4 is a kind of structural representation of exploitation debugging apparatus that the embodiment of the present invention is proposed;
Fig. 5 is the structural representation of data obtaining module in the exploitation debugging apparatus that the embodiment of the present invention is proposed;
Fig. 6 is the structural representation of another exploitation debugging apparatus that the embodiment of the present invention is proposed.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clearly Chu, it is fully described by, it is clear that described embodiment is a part of embodiment of the invention, rather than whole Embodiment.Based on the embodiment in the present invention, those of ordinary skill in the art are not making creative labor The every other embodiment obtained under the premise of dynamic, belongs to the scope of protection of the invention.
Fig. 1 is refer to, Fig. 1 is that a kind of flow of first embodiment for developing adjustment method proposed by the present invention is shown It is intended to.The executive agent of the present embodiment can be PC, as illustrated, the side in the embodiment of the present invention Method includes:
S101, when program is run at debugging code, sends to virtual server and carries Debugging message Networked E-Journals are asked.
In implementing, in order to know the implementation procedure of program operation, each the execution stage of user in program Debugging code is may be inserted into, when program is run at debugging code, program is by performing related call function The debugging code of insertion is printed, so that user can know that program runs to the time point at debugging code, Or if not finding target debugging code in the Debugging message of printing, user can determine program at this There is problem in the target debugging code corresponding execution stage.In embodiments of the present invention, Networked E-Journals request can Think that HTTP (Hypertext transfer protocol, HTTP) is asked, when program runs to When at debugging code, can be in the form of ajax (Asynchronous JavaScript and XML) to virtual Server sends the HTTP request for carrying Debugging message.For example:When program runs to debugging code fc.log('something want to display',{name:'aslin',age:'23',job:'code farmer'}, {fcflag:' print 1'}) and place when, to virtual server http://fiddler.fc.com interfaces send HTTP request. Wherein, the corresponding parameter print 1 of fcflag are debugging session mark.It should be noted that http://fiddler.fc.com interfaces are in real network and do not exist.
Optionally, sent to virtual server before the Networked E-Journals for carrying Debugging message ask, can be with Set up the network connection with the virtual server.
S102, intercepts the Networked E-Journals and asks using the debugging proxy instrument Fiddler of prepackage, and by institute State the plug-in unit write in advance in debugging proxy instrument Fiddler and obtain institute from the Networked E-Journals request for intercepting State Debugging message.
In implementing, can first start and run the debugging proxy instrument Fiddler of prepackage, use prepackage Debugging code instrument Fiddler preset monitoreds the network port, institute is intercepted by the network port of preset monitored Networked E-Journals request is stated, then by the advance plug-in unit write in the debugging proxy instrument Fiddler from interception The Networked E-Journals request in obtain the Debugging message.Wherein, the plug-in unit is the tune for calling above-mentioned prepackage The multiple calling interfaces in instrument Fiddler and the journey that execution can be installed under windows for compiling out are acted on behalf of in examination Sequence.It should be noted that multiple service requests can be sent to virtual server by the default network port, The debugging code instrument of prepackage can be intercepted to all of above-mentioned multiple service requests.
Further, the Networked E-Journals request can be identified including debugging session, can be according to the debugging Session identification, inquires about the Networked E-Journals request from the multiple service requests for intercepting;Described in inquiring The Debugging message is obtained in Networked E-Journals request.
S103, will get the response contents that the Debugging message asks as the Networked E-Journals and is shown To point out user to debug described program.
In implementing, primary network debugging request can be divided into client to virtual server send request with And two stages of the request at virtual server customer in response end, knowable to above-mentioned steps, virtual server http://fiddler.fc.com interfaces are in real network and do not exist, and use the debugging proxy instrument of prepackage Fiddler is intercepted after Networked E-Journals request, and Networked E-Journals ask not to be sent to real network, will can obtain The response contents that the Debugging message for arriving is asked as the Networked E-Journals.
Optionally, the Debugging message can be converted into JSON (JavaScript Object from character string type Notation) data type is shown.As shown in Fig. 2 Fig. 2 be debugging code fc.log (' something want to display',{name:'aslin',age:'23',job:'code farmer'},{fcflag:' print 1'}) and perform after the completion of beat The design sketch shown with JSON data types for printing off, so as to show the data structure of Debugging message to user, It is user-friendly.
Networked E-Journals request is initiated in the embodiment of the present invention first when program is run at debugging code;Then Networked E-Journals are intercepted using the debugging proxy instrument Fiddler of prepackage to ask, and by debugging proxy instrument The plug-in unit write in advance in Fiddler obtains Debugging message from the Networked E-Journals request for intercepting, finally will be from net Network debugging request gets Debugging message and is shown as the response contents that Networked E-Journals are asked, debugging it is whole Individual process can not only improve exploitation debugging efficiency locally completing, and improve exploitation debugging Stability and security.
Fig. 3 is refer to, Fig. 3 is that a kind of flow of second embodiment for developing adjustment method proposed by the present invention is shown It is intended to.The executive agent of the present embodiment can be PC, as illustrated, the side in the embodiment of the present invention Method includes:
S301, sets up the network connection with the virtual server.
S302, when program is run at debugging code, sends to virtual server and carries Debugging message Networked E-Journals are asked.
In implementing, in order to know the implementation procedure of program operation, each the execution stage of user in program Debugging code is may be inserted into, when program is run at debugging code, program is by performing related call function The debugging code of insertion is printed, so that user can know that program runs to the time point at debugging code, Or if not finding target debugging code in the Debugging message of printing, user can determine program at this There is problem in the target debugging code corresponding execution stage.In embodiments of the present invention, Networked E-Journals request can Think that HTTP (Hypertext transfer protocol, HTTP) is asked, when program runs to When at debugging code, can be in the form of ajax (Asynchronous JavaScript and XML) to virtual Server sends the HTTP request for carrying Debugging message.For example:When program runs to debugging code fc.log('something want to display',{name:'aslin',age:'23',job:'code farmer'}, {fcflag:' print 1'}) and place when, to virtual server http://fiddler.fc.com interfaces send HTTP request. Wherein, the corresponding parameter print 1 of fcflag are debugging session mark.It should be noted that http://fiddler.fc.com interfaces are in real network and do not exist.
S303, using the debugging proxy instrument Fiddler of prepackage, institute is intercepted by the network port of preset monitored Networked E-Journals request is stated, and by the advance plug-in unit write in the debugging proxy instrument Fiddler from interception The Debugging message is obtained in the Networked E-Journals request.
In implementing, can first start and run the debugging proxy instrument Fiddler of prepackage, use prepackage Debugging code instrument Fiddler preset monitoreds the network port, institute is intercepted by the network port of preset monitored Networked E-Journals request is stated, then by the advance plug-in unit write in the debugging proxy instrument Fiddler from interception The Networked E-Journals request in obtain the Debugging message.Wherein, the plug-in unit is the tune for calling above-mentioned prepackage Multiple calling interfaces and the journey that execution can be installed under windows for compiling out in instrument Fiddler are acted on behalf of in examination Sequence.It should be noted that multiple service requests can be sent to virtual server by the default network port, The debugging code instrument of prepackage can be intercepted to all of above-mentioned multiple service requests.
Further, the Networked E-Journals request can be identified including debugging session, can be according to the debugging Session identification, inquires about the Networked E-Journals request from the multiple service requests for intercepting;Described in inquiring The Debugging message is obtained in Networked E-Journals request.
S304, will get the response contents that the Debugging message asks as the Networked E-Journals and is shown To point out user to debug described program.
In implementing, primary network debugging request can be divided into client to virtual server send request with And two stages of the request at virtual server customer in response end, knowable to above-mentioned steps, virtual server http://fiddler.fc.com interfaces are in real network and do not exist, and use the debugging proxy instrument of prepackage Fiddler is intercepted after Networked E-Journals request, and Networked E-Journals ask not to be sent to real network, will can obtain The response contents that the Debugging message for arriving is asked as the Networked E-Journals.
Optionally, the Debugging message can be converted into JSON (JavaScript Object from character string type Notation) data type is shown.As shown in Fig. 2 Fig. 2 be debugging code fc.log (' something want to display',{name:'aslin',age:'23',job:'code farmer'},{fcflag:' print 1'}) and perform after the completion of beat The design sketch shown with JSON data types for printing off, so as to show the data structure of Debugging message to user, It is user-friendly.
Networked E-Journals request is initiated in the embodiment of the present invention first when program is run at debugging code;Then Networked E-Journals are intercepted using the debugging proxy instrument Fiddler of prepackage to ask, and by debugging proxy instrument The plug-in unit write in advance in Fiddler obtains Debugging message from the Networked E-Journals request for intercepting, finally will be from net Network debugging request gets Debugging message and is shown as the response contents that Networked E-Journals are asked, debugging it is whole Individual process can not only improve exploitation debugging efficiency locally completing, and improve exploitation debugging Stability and security.
As shown in figure 4, Fig. 4 is a kind of structural representation of exploitation debugging apparatus that the embodiment of the present invention is proposed, As illustrated, the device in the embodiment of the present invention includes:
Request sending module 401, for when program is run at debugging code, being sent to virtual server and being taken Networked E-Journals request with Debugging message.
In implementing, in order to know the implementation procedure of program operation, each the execution stage of user in program Debugging code is may be inserted into, when program is run at debugging code, program is by performing related call function The debugging code of insertion is printed, so that user can know that program runs to the time point at debugging code, Or if not finding target debugging code in the Debugging message of printing, user can determine program at this There is problem in the target debugging code corresponding execution stage.In embodiments of the present invention, Networked E-Journals request can Think that HTTP (Hypertext transfer protocol, HTTP) is asked, when program runs to When at debugging code, can be in the form of ajax (Asynchronous JavaScript and XML) to virtual Server sends the HTTP request for carrying Debugging message.For example:When program runs to debugging code fc.log('something want to display',{name:'aslin',age:'23',job:'code farmer'}, {fcflag:' print 1'}) and place when, to virtual server http://fiddler.fc.com interfaces send HTTP request. Wherein, the corresponding parameter print 1 of fcflag are debugging session mark.It should be noted that http://fiddler.fc.com interfaces are in real network and do not exist.
Data obtaining module 402, intercepts the network and adjusts for the debugging proxy instrument Fiddler using prepackage Examination request, and by the advance plug-in unit write in the debugging proxy instrument Fiddler from the network for intercepting The Debugging message is obtained in debugging request.Wherein, the Networked E-Journals request can include debugging session mark Know.
In implementing, can first start and run the debugging proxy instrument Fiddler of prepackage, use prepackage Debugging code instrument Fiddler preset monitoreds the network port, institute is intercepted by the network port of preset monitored Networked E-Journals request is stated, then by the advance plug-in unit write in the debugging proxy instrument Fiddler from interception The Networked E-Journals request in obtain the Debugging message.Wherein, the plug-in unit is the tune for calling above-mentioned prepackage Multiple calling interfaces and the journey that execution can be installed under windows for compiling out in instrument Fiddler are acted on behalf of in examination Sequence.It should be noted that multiple service requests can be sent to virtual server by the default network port, The debugging code instrument of prepackage can be intercepted to all of above-mentioned multiple service requests.
Further, as shown in figure 5, data obtaining module 402 can further include:
Requesting query unit 501, for being identified according to the debugging session, from the multiple service requests for intercepting Inquire about the Networked E-Journals request.
Information acquisition unit 502, for obtaining the debugging letter from the Networked E-Journals request for inquiring Breath.
Information display module 403, for the sound that the Debugging message is asked as the Networked E-Journals will to be got Answer content to be shown to point out user to debug described program.
In implementing, primary network debugging request can be divided into client to virtual server send request with And two stages of the request at virtual server customer in response end, knowable to above-mentioned steps, virtual server http://fiddler.fc.com interfaces are in real network and do not exist, and use the debugging proxy instrument of prepackage Fiddler is intercepted after Networked E-Journals request, and Networked E-Journals ask not to be sent to real network, will can get The response contents that the Debugging message is asked as the Networked E-Journals.
Optionally, the Debugging message can be converted into JSON (JavaScript Object from character string type Notation) data type is shown.As shown in Fig. 2 Fig. 2 be debugging code fc.log (' something want to display',{name:'aslin',age:'23',job:'code farmer'},{fcflag:' print 1'}) and perform after the completion of beat The design sketch shown with JSON data types for printing off, so as to show the data structure of Debugging message to user, It is user-friendly.
Optionally, as shown in figure 4, exploitation debugging apparatus can further include:
Connection establishment module 404, for setting up the network connection with the virtual server.
Networked E-Journals request is initiated in the embodiment of the present invention first when program is run at debugging code;Then Networked E-Journals are intercepted using the debugging proxy instrument Fiddler of prepackage to ask, and by debugging proxy instrument The plug-in unit write in advance in Fiddler obtains Debugging message from the Networked E-Journals request for intercepting, finally will be from net Network debugging request gets Debugging message and is shown as the response contents that Networked E-Journals are asked, debugging it is whole Individual process can not only improve exploitation debugging efficiency locally completing, and improve exploitation debugging Stability and security.
Fig. 6 is a kind of another structural representation of exploitation debugging apparatus that the embodiment of the present invention is proposed.As schemed Show, the exploitation debugging apparatus can include:At least one processor 601, such as CPU, at least one connects Receive device 603, at least one memory 604, at least one transmitter 605, at least one communication bus 602. Wherein, communication bus 602 is used to realize the connection communication between these components.Wherein, in the embodiment of the present invention Exploitation debugging apparatus receiver 603 and transmitter 605 can be wired sending port, or it is wireless Equipment, such as including antenna assembly, the communication for carrying out signaling or data with virtual server.Memory 604 can be high-speed RAM memory, or non-labile memory (non-volatile memory), For example, at least one magnetic disk storage.Memory 604 optionally can also be that at least one is located remotely from foregoing place Manage the storage device of device 601.Batch processing code is stored in memory 604, and processor 601 is used to call to deposit The program code stored in reservoir 604, for performing following operation:
When program is run at debugging code, sent to virtual server by transmitter 605 and carry tune The Networked E-Journals request of examination information;
The Networked E-Journals are intercepted using the debugging proxy instrument Fiddler of prepackage to ask, and by the debugging Act on behalf of the plug-in unit write in advance in instrument Fiddler and obtain the debugging from the Networked E-Journals request for intercepting Information;
The response contents that the Debugging message asks as the Networked E-Journals will be got to be shown to point out User debugs to described program.
Optionally, processor 601 calls the program stored in memory 604, and processor 601 can also be held OK:
Using the debugging proxy instrument Fiddler of prepackage, the network is intercepted by the network port of preset monitored Debugging request.
Optionally, processor 601 calls the program stored in memory 604, the Networked E-Journals request bag Debugging session mark is included, processor 601 can also carry out:
Identified according to the debugging session, the Networked E-Journals request is inquired about from the multiple service requests for intercepting;
The Debugging message is obtained from the Networked E-Journals request for inquiring.
Optionally, processor 601 calls the program stored in memory 604, and processor 601 can also be held OK:
The Debugging message is converted into JSON data types from character string type to be shown.
Optionally, processor 601 calls the program stored in memory 604, described when program runs to debugging When at code, before the Networked E-Journals request for carrying Debugging message is sent to virtual server, can also hold OK:
Set up the network connection with the virtual server.
It should be noted that for each foregoing embodiment of the method, in order to be briefly described, therefore by its all table It is a series of combination of actions to state, but those skilled in the art should know, the present invention is not by described Sequence of movement limitation because according to the present invention, certain some step can using other order or simultaneously Carry out.Secondly, those skilled in the art should also know, embodiment described in this description belongs to excellent Embodiment is selected, necessary to involved action and the module not necessarily present invention.
In the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, without detailed in certain embodiment The part of thin description, may refer to the associated description of other embodiment.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment Program be can be by instruct the hardware of correlation to complete, the program can be stored in a computer-readable and deposit In storage media, storage medium can include:Flash disk, read-only storage (English:Read-Only Memory, Referred to as:ROM), random access device (English:Random Access Memory, referred to as:RAM), magnetic Disk or CD etc..
The content download method and relevant device that are there is provided the embodiment of the present invention above, system have been carried out in detail Introduce, specific case used herein is set forth to principle of the invention and implementation method, above reality The explanation for applying example is only intended to help and understands the method for the present invention and its core concept;Simultaneously for this area Those skilled in the art, according to thought of the invention, have change in specific embodiments and applications Become part, in sum, this specification content should not be construed as limiting the invention.

Claims (10)

1. it is a kind of to develop adjustment method, it is characterised in that methods described includes:
When program is run at debugging code, the network tune for carrying Debugging message is sent to virtual server Examination request;
The Networked E-Journals are intercepted using the debugging proxy instrument Fiddler of prepackage to ask, and by the debugging Act on behalf of the plug-in unit write in advance in instrument Fiddler and obtain the debugging from the Networked E-Journals request for intercepting Information;
The response contents that the Debugging message asks as the Networked E-Journals will be got to be shown to point out User debugs to described program.
2. the method for claim 1, it is characterised in that the debugging proxy instrument using prepackage Fiddler intercepts the Networked E-Journals request to be included:
Using the debugging proxy instrument Fiddler of prepackage, the network is intercepted by the network port of preset monitored Debugging request.
3. the method for claim 1, it is characterised in that the Networked E-Journals request includes debugging meeting Words mark, the debugging proxy instrument Fiddler using prepackage intercepts the Networked E-Journals and asks, and passes through The plug-in unit write in advance in the debugging proxy instrument Fiddler is obtained from the Networked E-Journals request for intercepting The Debugging message includes:
Identified according to the debugging session, the Networked E-Journals request is inquired about from the multiple service requests for intercepting;
The Debugging message is obtained from the Networked E-Journals request for inquiring.
4. the method for claim 1, it is characterised in that described to get the Debugging message and make For the response contents of Networked E-Journals request are shown to point out the user to carry out debugging bag to described program Include:
The Debugging message is converted into JSON data types from character string type to be shown.
5. the method as described in Claims 1 to 4 any one, it is characterised in that described when program runs to When at debugging code, before the Networked E-Journals request for carrying Debugging message is sent to virtual server, also wrap Include:
Set up the network connection with the virtual server.
6. it is a kind of to develop debugging apparatus, it is characterised in that methods described includes:
Request sending module, for when program is run at debugging code, being sent to virtual server and being carried The Networked E-Journals for having Debugging message are asked;
Data obtaining module, intercepting the Networked E-Journals for the debugging proxy instrument Fiddler using prepackage please Ask, and by the advance plug-in unit write in the debugging proxy instrument Fiddler from the Networked E-Journals for intercepting The Debugging message is obtained in request;
Information display module, for the response that the Debugging message is asked as the Networked E-Journals will to be got Content is shown to point out user to debug described program.
7. device as claimed in claim 6, it is characterised in that described information acquisition module specifically for:
Using the debugging proxy instrument Fiddler of prepackage, the network is intercepted by the network port of preset monitored Debugging request.
8. device as claimed in claim 6, it is characterised in that described information acquisition module includes:
Requesting query unit, for being identified according to the debugging session, looks into from the multiple service requests for intercepting Ask the Networked E-Journals request;
Information acquisition unit, for obtaining the Debugging message from the Networked E-Journals request for inquiring.
9. device as claimed in claim 6, it is characterised in that
Described information display module, is additionally operable to for the Debugging message to be converted into JSON data from character string type Type is shown.
10. the device as described in claim 6~9 any one, it is characterised in that described device also includes:
Connection establishment module, for setting up the network connection with the virtual server.
CN201510423377.2A 2015-07-17 2015-07-17 A kind of exploitation adjustment method and device Active CN106708717B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510423377.2A CN106708717B (en) 2015-07-17 2015-07-17 A kind of exploitation adjustment method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510423377.2A CN106708717B (en) 2015-07-17 2015-07-17 A kind of exploitation adjustment method and device

Publications (2)

Publication Number Publication Date
CN106708717A true CN106708717A (en) 2017-05-24
CN106708717B CN106708717B (en) 2019-10-22

Family

ID=58895060

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510423377.2A Active CN106708717B (en) 2015-07-17 2015-07-17 A kind of exploitation adjustment method and device

Country Status (1)

Country Link
CN (1) CN106708717B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108345543A (en) * 2018-03-02 2018-07-31 财付通支付科技有限公司 A kind of data processing method, device, equipment and storage medium
CN109614340A (en) * 2018-12-28 2019-04-12 北京微播视界科技有限公司 Exploitation adjustment method, device, electronic equipment and the storage medium of application program
CN111367805A (en) * 2020-03-05 2020-07-03 中国银行股份有限公司 Development and debugging method and device
CN112134910A (en) * 2019-06-25 2020-12-25 北京京东尚科信息技术有限公司 Network request debugging method, device, equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101702170A (en) * 2009-11-18 2010-05-05 上海卓繁信息技术有限公司 Resolution and exchange method of administrative examination and approval serial port data
US20120284696A1 (en) * 2009-12-21 2012-11-08 Nokia Corporation Method, Apparatuses and a System for Compilation
CN103593292A (en) * 2013-11-19 2014-02-19 北京深思数盾科技有限公司 System and method for program debugging
CN104598354A (en) * 2015-02-15 2015-05-06 浪潮电子信息产业股份有限公司 Debugging method and device special for high-end fault-tolerant computer FPGA (field programmable Gate array) based on soft and hard architecture

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101702170A (en) * 2009-11-18 2010-05-05 上海卓繁信息技术有限公司 Resolution and exchange method of administrative examination and approval serial port data
US20120284696A1 (en) * 2009-12-21 2012-11-08 Nokia Corporation Method, Apparatuses and a System for Compilation
CN103593292A (en) * 2013-11-19 2014-02-19 北京深思数盾科技有限公司 System and method for program debugging
CN104598354A (en) * 2015-02-15 2015-05-06 浪潮电子信息产业股份有限公司 Debugging method and device special for high-end fault-tolerant computer FPGA (field programmable Gate array) based on soft and hard architecture

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108345543A (en) * 2018-03-02 2018-07-31 财付通支付科技有限公司 A kind of data processing method, device, equipment and storage medium
CN108345543B (en) * 2018-03-02 2021-08-17 财付通支付科技有限公司 Data processing method, device, equipment and storage medium
CN109614340A (en) * 2018-12-28 2019-04-12 北京微播视界科技有限公司 Exploitation adjustment method, device, electronic equipment and the storage medium of application program
CN112134910A (en) * 2019-06-25 2020-12-25 北京京东尚科信息技术有限公司 Network request debugging method, device, equipment and storage medium
CN112134910B (en) * 2019-06-25 2024-01-12 北京京东尚科信息技术有限公司 Network request debugging method, device, equipment and storage medium
CN111367805A (en) * 2020-03-05 2020-07-03 中国银行股份有限公司 Development and debugging method and device
CN111367805B (en) * 2020-03-05 2023-08-18 中国银行股份有限公司 Development and debugging method and device

Also Published As

Publication number Publication date
CN106708717B (en) 2019-10-22

Similar Documents

Publication Publication Date Title
CN108574604B (en) Test method and device
CN107463453B (en) Method, device, equipment and storage medium for communication between different applications of same terminal
CN104699612A (en) Processing method, equipment and system used in software testing
CN104009880B (en) Web test methods, proxy server and Web test devices
CN106708717A (en) Development debugging method and device
CN112732572A (en) Service testing method, device and system, storage medium and electronic device
EP3782061A1 (en) System and method to securely execute datacenter management operations remotely
CN104317570B (en) The apparatus and method of dynamic analysis Web applications
EP3047379A1 (en) Real-time code instrumentation
CN109391676A (en) Terminal equipment control method, terminal device and computer readable storage medium
CN110413329A (en) IOT equipment remote debugging method, apparatus and system
CN104102578A (en) Test method and system and operation terminal
US20160100025A1 (en) Ui framework support for portal systems
CN113872805B (en) Network topology information visualization method, device and medium
CN108737204A (en) A kind of acquisition method and communication terminal of network performance information
CN108377499A (en) A kind of method for network access, routing device and terminal
WO2017211302A1 (en) Application program development method, apparatus and system
CN103516754A (en) Method of migrating physical network to virtual network and apparatus thereof
US20130226984A1 (en) Method and apparatus of providing optimized web browser communications
CN106875765B (en) Electronic classroom implementation method and device based on VDI
CN109510735A (en) A kind of method and device of message test
CN104270431B (en) A kind of method and device of con current control
CN114915565B (en) Network debugging method and system
CN110177096A (en) Client certificate method, apparatus, medium and calculating equipment
CN103634338A (en) Method for modifying primary domain name of webpage online, data processing device and system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant