PureBytes Links
Trading Reference Links
|
<FONT face=Arial color=#0000ff
size=2>Download DebugView, the best debugging tool TJ ever recommended. I make
all debug output conditional by using this type of
statement:
<FONT face=Arial color=#0000ff
size=2>
<FONT face=Arial color=#0000ff
size=2>if(Debug==N)
_TRACE("TestValue="+NumToStr(N,1.0,false));
<FONT face=Arial color=#0000ff
size=2>
By
setting the value N to different values you can leave the Debug statements
in your code and enable them selectively, even if you have hundreds of
functions.
<FONT face=Arial color=#0000ff
size=2>
See <A
href="">http://www.sysinternals.com/ntw2k/freeware/debugview.shtml
<FONT face=Arial color=#0000ff
size=2>
best
regards,
<FONT face=Arial color=#0000ff
size=2>herman
<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.
|