background preloader

Eclipse

Facebook Twitter

Remote Debugging. As you might know, WebKit Web Inspector is implemented as an HTML + CSS + JavaScript web application.

Remote Debugging

What you might not know is that Web Inspector can run outside of the browser environment and still provide complete set of its features to the end user. Debugging over the wire Running debugger outside the browser is interesting because mobile platforms do not often provide enough screen real estate for quality debugging; they have network stack and CPU specifics that often affect page load and runtime. Still, they are based on the WebCore rendering engine, they could have Web Inspector instrumentation running and hence expose valuable debugging information to the end user. Now that Web Inspector is functioning out-of-process over the serialized-message-channel, attaching Web Inspector window to the remote browser is possible. 1. Chromium --remote-debugging-port=9222 2. 3. 4. You will find remote debugging interface very similar to the Web Inspector and here is why: What’s next.

5 steps to speed up your eclipse as a super fast IDE. Follow these steps to speed up your eclipse as a super fast IDE , it works for 32 & 64 bit version eclipse/jdk on my windows 7 x64. 1.Disable antivirus software, or add your jdk & eclipse & workspace & other related folder to white list in your antivirus software. 2.Disable unecessary validations and startup action in eclipse reference. For validations: on eclipse menu Windows -> Preferences -> Validation, click “Disable All”, and then select the validator which you need. I selected “Classpath Dependency Validator” only. For startup action: on eclipse menu Windows -> Preferences, type “startup”, select “Startup and Shutdown”, untick the options you don’t need. 4.Create a ram disk(virtual disk) on memory, and put your jdk on the ram disk. Then set the ImDisk driver to auto-load at Command Prompt with administrative privileges (for example right-click, start as Administrator), type: sc config imdisk start= auto net start imdisk then you should format the ram disk manually.

Some note: How do I build a Java project in Eclipse, to create an external JAR. 17.2.1 Writing a Refactoring Script. 19.2.1 Writing a Refactoring Script Below there is a thoroughly commented example script to illustrate the XML syntax used by the scripting engine.

17.2.1 Writing a Refactoring Script

XML header on the first line. Start of refactoring script content. The script name is displayed in visual controls. You can specify exceptions, i.e. paths that will not be affected by the refactoring. It is advised to exclude sensitive project configuration files, like for instance: Actual refactoring directives are called items. Replace-in-text performs plain textual search & replace for all the text files in the project like source files, scripts etc. Replace-in-file-name and replace-in-dir-name perform plain textual search & replace in the names of all files/folders within the project. rename renames all occurrences of the specified element. For macros, the name of the macro preceded by a backtick, just like a macro call Note that the new name is just the name of the element.

Add-comment Finally, the script closing tag.