Add debug build support to waf

Bug #634375 reported by Oliver Sauder
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Diodon
Fix Released
Wishlist
Oliver Sauder

Bug Description

Currently only a version without any debug symbols can be build with waf.

A new debug environment should be added. An example might be available in the source code of Val(a)IDE.

Oliver Sauder (sao)
Changed in diodon:
assignee: nobody → Oliver Sauder (sao)
status: New → In Progress
Revision history for this message
Oliver Sauder (sao) wrote :

Added --debug option to wscript. Use ./waf build --debug to build a debugable version of diodon.

Changed in diodon:
status: In Progress → Fix Committed
Revision history for this message
Oliver Sauder (sao) wrote :

This debug version does not completely work, as the c source files and the vala files need to be in the same folder for correct debugging.

Changed in diodon:
milestone: 0.1 → none
status: Fix Committed → Triaged
status: Triaged → New
Oliver Sauder (sao)
Changed in diodon:
status: New → Triaged
Revision history for this message
Oliver Sauder (sao) wrote :

This seems to work now.

How to best debug diodon is to configure it with debug option:
./waf configure --debug

Then build it and install it:
./waf build
sudo ./waf install

And now it is possible to debug it e.g. with nemiver:
nemiver diodon

Changed in diodon:
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related blueprints

Remote bug watches

Bug watches keep track of this bug in other bug trackers.