~midori/midori/trunk

« back to all changes in this revision

Viewing changes to INSTALL

  • Committer: Christian Dywan
  • Author(s): Paweł Forysiuk
  • Date: 2012-04-05 21:47:48 UTC
  • Revision ID: git-v1:a01c0fd22421eac117af38c677fb3b6e91001b94
Accomodate docs for build dir renaming

Show diffs side-by-side

added added

removed removed

Lines of Context:
37
37
 
38
38
Make sure you have installed 'gdb', the GNU Debugger.
39
39
 
40
 
Run Midori as 'gdb _build_/default/midori/midori'.
 
40
Run Midori as 'gdb _build/default/midori/midori'.
41
41
 
42
42
Inside gdb, type 'run'.
43
43
 
49
49
 
50
50
If the problem is a warning and not a crash, try this:
51
51
 
52
 
'G_DEBUG=all gdb _build_/default/midori/midori'
 
52
'G_DEBUG=all gdb _build/default/midori/midori'
53
53
 
54
54
If you are interested in HTTP communication, try this:
55
55
 
56
 
'MIDORI_SOUP_DEBUG=2 _build_/default/midori/midori'
 
56
'MIDORI_SOUP_DEBUG=2 _build/default/midori/midori'
57
57
 
58
58
Where '2' can be a level between 0 and 3.
59
59
 
60
60
If you are interested in (non-) touchscreen behaviour, try this:
61
61
 
62
 
'MIDORI_TOUCHSCREEN=1 _build_/default/midori/midori', or
 
62
'MIDORI_TOUCHSCREEN=1 _build/default/midori/midori', or
63
63
 
64
 
'MIDORI_TOUCHSCREEN=0 _build_/default/midori/midori'
 
64
'MIDORI_TOUCHSCREEN=0 _build/default/midori/midori'
65
65
 
66
66
If you want to "dry run" without WebKitGTK+ rendering, try this:
67
67
 
68
 
'MIDORI_UNARMED=1 _build_/default/midori/midori'
 
68
'MIDORI_UNARMED=1 _build/default/midori/midori'
69
69
 
70
70
To disable Netscape plugins, use MOZ_PLUGIN_PATH=/.
71
71
 
72
72
To debug extensions you can specify the path:
73
73
 
74
 
'export MIDORI_EXTENSION_PATH=_build_/default/extensions'
 
74
'export MIDORI_EXTENSION_PATH=_build/default/extensions'
75
75
 
76
76
For further information a tutorial for gdb and
77
77
reading up on how you can install debugging