OmniTrader Professional Forum OmniTrader Professional Forum
forums calendars search
today this week
 
register logon control panel Forum Rules
You are currently browsing as a guest.
You should logon to access more features
A Self-Moderated Community - ALL MEMBERS, PLEASE READ!
Vote for Members who contribute the most to your trading, and help us moderate content within the Forums.


Only Forum Moderators, Administrators, and the owner of this message may delete it.

 
kmcintyre

Veteran
10025
Posts: 132

Joined: 9/12/2007
Location: Valley Center, CA

User Profile
 
Subject : RE: bug in OL? Am I missing something?
Posted : 4/26/2019 7:29 PM
Post #30382 - In reply to #30370

Well, the beat goes on...

I wanted to verify the code on several other charts. With all the DebugMsg statements, it takes a long time to process each chart.

So I commented out all the DebugMsg statements...

But I am still getting messages logged to the Debug pane of the IDE.

Great!

So I stare at the source code for quite a while. (I am legally blind so it takes a long time and I don't trust my eyes.) I still don't see anything wrong.

Well, I thought, I'll search for DebugMsg and verify they are all commented out.

What!?! An IDE with no Search function? Figures...

So I open the indDebug.txt in Notepad and search for DebugMsg. Yes, they are all commented out.

But the funny thing is, the messages in the Debug pane are not from any version of the code I have recently worked on. Yes, I recognize the messages from a much earlier iteration. Great!

So I am attaching the code (again) and a png showing some of the code and Debug log. Mostly just to document that I am not making this stuff up.
Afaik,. there is no code in the current source file that would
generate any of the Debug log messages.

Don't tell me. It is not a bug, it is a feature

Feeling all warm and fuzzy about OL - fur sure.

So what file to I need to delete to make sure I am executing the code I just compiled? Does this happen often? Can I ever really trust the Debug log or the plot() on the screen?

Attached file : indDeug.txt (1KB - 455 downloads)
Attached file : OL buf 6.png (97KB - 440 downloads)

Deleting message 30382 : RE: bug in OL? Am I missing something?


Nirvana Systems
For any problems or issues please contact our Webmaster at webmaster@nirvsys.com.