[Rock-dev] [Orocos-Dev] [PATCH] RTT: Added way to disable exception catching

Matthias Goldhoorn matthias.goldhoorn at uni-bremen.de
Mon Oct 21 09:00:01 CEST 2013


On 18.10.2013 14:00, Matthias Goldhoorn wrote:
> On 17.10.2013 15:15, Sylvain Joyeux wrote:
>> On 10/17/2013 03:00 PM, Matthias Goldhoorn wrote:
>>> Please find attached a patch that could make the debuggers/developers
>>> life much easier.
>>> suggestions are welcome.
>> I don't like the idea of using a compile-time flag. We should not have
>> to rebuild the complete stack each time we want to turn it on.
>>
>> A global flag on the RTT namespace, set automatically using an
>> environment variable would look a lot better to me
>>
> I changed the patch, that in release build the normal behaviour is 
> active.
> On Debug build level, the env export RTT_IGNORE_EXCEPTION could be set 
> and exceptions rising up...
>
> Suggestions?
>
> Matthias

After a personal Discussion with Sylvain here my current (hopefully 
final) patch attached.
Sylvain Requested that the enabling of the new handling becomes 
independent of the debug level of RTT.
I added a new define and cmake option for this now.

Greetings,
Matthias

>
>
>


-- 
  Dipl.-Inf. Matthias Goldhoorn
  Space and Underwater Robotic

  Universität Bremen
  FB 3 - Mathematik und Informatik
  AG Robotik
  Robert-Hooke-Straße 5
  28359 Bremen, Germany

  Tel.:     +49 421 178 45-4193
  Zentrale: +49 421 178 45-6550
  Fax:      +49 421 178 45-4150
  E-Mail:   matthias.goldhoorn at uni-bremen.de

  Weitere Informationen: http://www.informatik.uni-bremen.de/robotik

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.dfki.de/pipermail/rock-dev/attachments/20131021/849de6e1/attachment.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Exception-handling-Added-option-to-disable-exception.patch
Type: text/x-patch
Size: 0 bytes
Desc: not available
Url : http://www.dfki.de/pipermail/rock-dev/attachments/20131021/849de6e1/attachment.bin 


More information about the Rock-dev mailing list