help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Debugging octave mex files


From: Michael Goffioul
Subject: Re: Debugging octave mex files
Date: Tue, 29 Nov 2011 09:26:24 +0000

On Tue, Nov 29, 2011 at 2:35 AM, Trigui, Hafedh (OTT)
<address@hidden> wrote:
> I did not use mex or any other command at octave prompt. I solely relied on 
> compile and build solution from the GUI of VC++.

So you edited the properties of your solution to use mkoctfile to
compile and link your files? Or you're using VC++ compiler and linker
and change the solution properties to redirect it to octave headers
and libraries (btw, does your octave release have import .lib files,
or are you using the libXXX.a files that MinGW usually generates?)

> Then, I manually rename the dll file to a mex file.

Not sure VC++ will still be able to locate debug symbols (.pdb files)
when you rename files. In the VC++ window, you should be able to see a
list of modules loaded, as well as whether VC++ was able to load debug
symbols. This should at least tell you whether the .pdb file
corresponding to your MEX has been loaded or not.

And please, stop using your signature when you send mails to a mailing
list, knowing that your mail will be forwarded to hundreds of people
and archived on the web. This really doesn't make sense and is
irritating.

Michael.

> -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
> This e-mail from Ultra Electronics and any attachments to it are confidential 
> to the intended recipient and may also be privileged.
> If you have received it in error please notify the sender and delete it from 
> your system.
> If you are not the intended recipient you must not copy it or use it for any 
> purpose nor disclose or distribute its contents to any other person.
> All communications may be subject to interception or monitoring for 
> operational and/or security purposes.
> Please rely on your own virus checking as the sender cannot accept any 
> liability for any damage arising from any bug or virus infection.
>
>
> Ce courriel de Ultra Electronics est destine a la personne a laquelle il est 
> adresse et peut contenir des renseignements privilegies et confidentiels.
> Si vous avez recu ce courriel par erreur, veuillez aviser l'expediteur et 
> l'effacer de votre systeme.
> Si vous n'etes pas le destinataire, vous ne devez ni copier, ni l'utiliser 
> pour quel qu'usage que ce soit, ni le faire suivre a d'autres.
> Toutes les communications sont assujetties a une surveillance et/ou 
> interception pour des besoins operationnels et/ou de securite.
> Vous etes tenu de vous fier a votre anti-virus car l'expediteur n'acceptera 
> aucune responsabilite des dommages causes par un virus ou un bogue.
> -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>


reply via email to

[Prev in Thread] Current Thread [Next in Thread]