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

Re: [amibroker] Run time debugging for includes



PureBytes Links

Trading Reference Links

Title: Re: [amibroker] Run time debugging for includes

Hi Dennis,,


Debugging include files is never easy. I suggested once that when we right-click on "#include" a menu item would pop up that allows the user to expand/re-collapse the include file. This way errors are properly highlighted and other bugging techniques, and execution checks, can be applied. See my suggestion #764 on the feedback center.


Right now we have to do this manually - which, when the include files are large, easily leads to copy/paste errors. 


best regards,

herman



Tuesday, February 10, 2009, 11:20:47 AM, you wrote:


> Hello,


> I have been reorganizing my trading system to a very modular approach

> using #include for each of the functional modules.  My main program  

> has become a shell of the various included files.


> When I click an on-chart button, I got a runtime error today that just

> flashed once and then was gone -- variable 'x' used without being  

> initialized at line 555 col 4843.  I guessed it was part of a  

> ParamTrigger() like button click processing, since the program ran  

> after that.


> Line 555 points to an #include statement, but what is column 4843?   

> would that be the 4843 character of the file?  The actual error  

> detected was in line 100 of the include file, so an average of 48  

> characters per line would be reasonable with the dense way I code AFL.


> Is there a quick and easy way to locate the nth character of the file

> within the Formula Editor for the next time an error inside an include

> happens (and there will be many now)?


> Best regards,

> Dennis



> ------------------------------------


> **** IMPORTANT ****

> This group is for the discussion between users only.

> This is *NOT* technical support channel.


> *********************

> TO GET TECHNICAL SUPPORT from AmiBroker please send an e-mail directly to

> SUPPORT {at} amibroker.com

> *********************


> For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:

> http://www.amibroker.com/devlog/


> For other support material please check also:

> http://www.amibroker.com/support.html


> *********************************

> Yahoo! Groups Links


> <*> To visit your group on the web, go to:

>     http://groups.yahoo.com/group/amibroker/


> <*> Your email settings:

>     Individual Email | Traditional


> <*> To change settings online go to:

>     http://groups.yahoo.com/group/amibroker/join

>     (Yahoo! ID required)


> <*> To change settings via email:

>     mailto:amibroker-digest@xxxxxxxxxxxxxxx 

>     mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx


> <*> To unsubscribe from this group, send an email to:

>     amibroker-unsubscribe@xxxxxxxxxxxxxxx


> <*> Your use of Yahoo! Groups is subject to:

>     http://docs.yahoo.com/info/terms/





__._,_.___


**** IMPORTANT ****
This group is for the discussion between users only.
This is *NOT* technical support channel.

*********************
TO GET TECHNICAL SUPPORT from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com
*********************

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/

For other support material please check also:
http://www.amibroker.com/support.html

*********************************




Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___