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

RE: [amibroker] Re: debugging in AB



PureBytes Links

Trading Reference Links




<FONT face=Arial color=#0000ff 
size=2>Paul,
<FONT face=Arial color=#0000ff 
size=2> 
I use 
AA for most of my debugging. Simply use addcolumn() to see the variable results. 
Example;
<FONT face=Arial color=#0000ff 
size=2> 
<FONT face=Arial color=#0000ff 
size=2>x=atr(14)/c;
<FONT face=Arial color=#0000ff 
size=2>y=v/ma(v,50);
<FONT face=Arial color=#0000ff 
size=2> 
<FONT face=Arial color=#0000ff 
size=2>addcolumn(x,"X");
<FONT face=Arial color=#0000ff 
size=2>addcolumn(y,"Y");
<FONT face=Arial color=#0000ff 
size=2> 
<FONT face=Arial color=#0000ff 
size=2>another way is to use title to see the action in an 
indicator...
<FONT face=Arial color=#0000ff 
size=2> 

<FONT face=Arial color=#0000ff 
size=2>x=atr(14)/c;
<FONT face=Arial color=#0000ff 
size=2>y=v/ma(v,50);
 
<FONT face=Arial color=#0000ff 
size=2>Plot(c,"",4,64);
<FONT face=Arial color=#0000ff 
size=2>title="X= "+X+" Y= "+y;
<FONT face=Arial color=#0000ff 
size=2> 
<FONT face=Arial color=#0000ff 
size=2> 
<FONT face=Arial color=#0000ff 
size=2> 
<FONT face=Arial color=#0000ff 
size=2> 
Regards,Jayson 

  <FONT face=Tahoma 
  size=2>-----Original Message-----From: Paul A. 
  [mailto:amibroker@xxxxxxxxxxxxx]Sent: Thursday, May 06, 2004 12:31 
  PMTo: amibroker@xxxxxxxxxxxxxxxSubject: [amibroker] 
  debugging in ABFolks:I am just 
  learning AB and have come a point where I realize that many of my questions 
  would answer themselves if I knew how to debug better.  How do I watch 
  variables, step through code, set breakpoints, etc.?  If I could watch 
  variable values change in real time, I'm sure that I'd quickly gain a far 
  better understanding of AB and AFL.1) I can find practically nothing 
  regarding debugging in the AB User's Guide, other than a suggestion to d/l 
  DebugView.  I did that, but obviously that tool could require a bit of 
  AFL coding simply to report accurately where in the code (i.e., in a 
  particular loop) the debug report is coming from.  Is DebugView the sole 
  method for debugging available in AB?  There's no variable watching or 
  breakpoints or stepping?2) Regarding the error reports from the 
  compiler with the line and column number given:I don't see any 
  corresponding line and column numbers in the AB editor status bar.  Is it 
  true that in order to interpret the compiler errors I have to copy my code to 
  a 3rd party editor that does report line numbers?Thanks for any 
  help.   -Paul Send BUG REPORTS to 
  bugs@xxxxxxxxxxxxxSend SUGGESTIONS to 
  suggest@xxxxxxxxxxxxx-----------------------------------------Post 
  AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx (Web page: <A 
  href="">http://groups.yahoo.com/group/amiquote/messages/)--------------------------------------------Check 
  group FAQ at: <A 
  href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
  


Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html








Yahoo! Groups Sponsor


  ADVERTISEMENT 












Yahoo! Groups Links
To visit your group on the web, go to:http://groups.yahoo.com/group/amibroker/ 
To unsubscribe from this group, send an email to:amibroker-unsubscribe@xxxxxxxxxxxxxxx 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.