Changes between Version 6 and Version 7 of WebKitGTK/StartHacking
- Timestamp:
- Jun 19, 2013 9:09:51 AM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
WebKitGTK/StartHacking
v6 v7 68 68 69 69 There are a couple of things still to be considered: 70 * ''Release'' or ''Debug''? The default compilation will do a ''Release'' build. You may think that it may be worthy to actually do a ''Debug'' build since you are planning to start hacking and make use of ''gdb''. However, a ''Debug'' build will take longer, more hard drive space and more RAM. In addition, running a debug build in ''gdb'' may be a pain. Because of this, most of the WebKit hackers choose to just use a ''Release'' build and make an extensive usage of ''printf'' as debugging tool. Also, there is the possibility to ''tweak'' a ''Release'' build to keep certain debugging helpersand yet not being a full ''Debug'' build.70 * ''Release'' or ''Debug''? The default compilation will do a ''Release'' build. You may think that it may be worthy to actually do a ''Debug'' build since you are planning to start hacking and make use of ''gdb''. However, a ''Debug'' build will take longer, more hard drive space and more RAM. In addition, running a debug build in ''gdb'' may be a pain. Because of this, most of the WebKit hackers choose to just use a ''Release'' build and make an extensive usage of ''printf'' as debugging tool. Also, there is the possibility to ''tweak'' a ''Release'' build to keep [wiki:WebKitGTK/Debugging#DebuggingWebKitGTK certain debugging helpers] and yet not being a full ''Debug'' build. 71 71 - In any case, don't worry too much since a ''Release'' and a ''Debug'' build can co-exist as WebKit store the resulting objects in different directories. 72 72 * You may want to disable the compilation of unneeded pieces for if you are not working on them. For example, you can pass: … … 139 139 140 140 141 == = Testing ===141 == Testing == 142 142 143 143 WebKit provides a really complete set of tets to check the code and your changes. You can get more information about them in WebKitGtkLayoutTests. … … 150 150 $ Tools/Scripts/run-launcher --gtk 151 151 }}} 152 * To run @MiniBrowser@(WebKit2):152 * To run MiniBrowser (WebKit2): 153 153 {{{ 154 154 #!sh … … 163 163 $ WebKitBuild/Release/Programs/MiniBrowser & 164 164 }}} 165 166 167 == Debugging == 168 169 Here you have some [wiki:WebKitGTK/Debugging debugging tips] and also some other tips for [wiki:WebKitGTK/TrackingMemoryErrors tracking memory errors]. 170 171 172 == Continuous integration == 173 174 WebKit continuous integration happens in http://build.webkit.org/. There are a number of ''gardening'' guidelines to help [wiki:WebKitGTK/KeepingTheTreeGreen keeping our build bots green]. 175 176 177 178