Hello,

Sorry, my mistake. Options shall be passed with the MONO_OPTIONS environment
variable:

MONO_OPTIONS="--debug" ./MyGreatApp.app/Contents/MacOS/MyGreatApp

Regards, Laurent Etiemble.

2011/4/19 Bastien Hofmann <bhofm...@waterproof.fr>

> Hello,
>
> Thank you, but I can't seem to make it work. Exceptions still don't have
> filename/line numbers infos (they do when I do something like mono --debug
> MyApp.exe), and the --debug param seems to be passed to my app instead of
> the mono runtime.
>
> Laurent Etiemble a écrit :
>
>> Hello,
>>
>> As the new launcher is a wrapper around the Mono runtime, you have to
>> use the command line want to pass additional arguments.
>>
>> For example, to launch MyGreatApp in debug mode, open a Terminal and type:
>>
>> ./MyGreatApp.app/Contents/MacOS/MyGreatApp --debug
>>
>> Regards, Laurent Etiemble.
>>
>> 2011/4/14 Bastien Hofmann <bhofm...@waterproof.fr
>> <mailto:bhofm...@waterproof.fr>>
>>
>>
>>    Hello,
>>
>>    Is there a way to run mono with the "--debug" parameter with the new
>>    Monobjc 3 launcher?
>>    With the old script based launcher I added it myself, but with the
>>    new binary I can't.
>>    The problem is that current when an exception is thrown, I don't get
>>    filenames or line numbers in the stack, because mono is not running
>>    in debug mode.
>>
>>    Thanks in advance for any help!
>>    Best regards,
>>    --
>>    Bastien Hofmann
>>    WaterProof SARL - 10, place Nationale | Phone: +33 (0) 563 669 627
>>    82000 Montauban, France | Fax: +33 (0) 563 669 626
>>    http://www.waterproof.fr| supp...@waterproof.fr
>>    <mailto:supp...@waterproof.fr>
>>
>>
>>
> Best regards,
> --
> Bastien Hofmann
> WaterProof SARL - 10, place Nationale | Phone: +33 (0) 563 669 627
> 82000 Montauban, France | Fax: +33 (0) 563 669 626
> http://www.waterproof.fr| supp...@waterproof.fr
>

Reply via email to