Statalist


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

RE: st: Debug mode in Mata


From   "Mak, Timothy" <[email protected]>
To   "[email protected]" <[email protected]>
Subject   RE: st: Debug mode in Mata
Date   Mon, 12 Jan 2009 10:48:29 +0000

Hi Sergiy, 

Would it be possible to give more information as to how -set metadebug on- works? 

I tried to introduce some faults to my program and see how the above helps me find it, but I didn't notice any difference. In any case, I'm hoping for a (virtual?) engine that runs Mata line by line for debug purposes, if you see what I mean... I hear this sort of thing is available to help people debug their C programs (or maybe C++?), for example... (I'm no computing language person so forgive me for not being clear...) 

Thanks, 

Tim

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Sergiy Radyakin
Sent: 09 January 2009 20:21
To: [email protected]
Subject: Re: st: Debug mode in Mata

It is already there, but hidden from users:
   set matadebug on

Or what kind of debug do you mean?

Regards, Sergiy Radyakin

On Fri, Jan 9, 2009 at 2:19 PM, Mak, Timothy
<[email protected]> wrote:
> Hi,
>
> Is it just me who finds that debugging in Mata is a real pain, which
> renders Stata somewhat more difficult to program than R?
>
> Is there plan to introduce a debug mode for Mata programming?
>
> Tim
>
> *
> *   For searches and help try:
> *   http://www.stata.com/help.cgi?search
> *   http://www.stata.com/support/statalist/faq
> *   http://www.ats.ucla.edu/stat/stata/
>
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index