TRACE() macro doesn't display any messages | Synth Book Questions | Forum

Avatar

Please consider registering
guest

sp_LogInOut Log In sp_Registration Register

Register | Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_Feed Topic RSS sp_TopicIcon
TRACE() macro doesn't display any messages
Avatar
New Member
Members
December 6, 2014 - 5:43 am
Member Since: December 5, 2014
Forum Posts: 2
sp_UserOfflineSmall Offline

Hi!

On the beginning my VS refused to compile the plugin with TRACE() macros. Then I added trace.h to the project and included it. Now it compiles, but doesn't display any communicates when I play my keyboard. I tried putting TRACE() to processAudioFrame() method and it worked. RackAFX receives all MIDI correctly so I can see it on the status bar.

Enybody encountered this?

I'm using Visual Studio Professional 2012 on Windows 7 in Parallels Desktop on Mac.

Avatar
Admin
December 6, 2014 - 7:03 pm
Member Since: January 29, 2017
Forum Posts: 689
sp_UserOfflineSmall Offline

If you are receiving MIDI properly, then TRACE() should work from the MIDI message handlers.

However, with TRACE() you must be running in DEBUG mode in Visual Studio. TRACE() doesn't work outside of DEBUG mode.

- Will

BTW: this post really belongs in the Chapter 2 section of this Forum. Please post questions in the Chapter topics from the book.

Avatar
New Member
Members
December 7, 2014 - 3:00 am
Member Since: December 5, 2014
Forum Posts: 2
sp_UserOfflineSmall Offline

Ok. Problem solved!

Sorry, but I don't have permission to post in chapters' sections. I can only see "Add Topic" button which creates topics in the "Synth Book Chapter by Chapter" section.

Avatar
Admin
December 7, 2014 - 3:02 am
Member Since: January 29, 2017
Forum Posts: 689
sp_UserOfflineSmall Offline

Oh - OK, I will check the permissions settings for the Chapters. Thanks for pointing that out for me!

- Will

EDIT: I had to remove the Chapter Pinned and Locked topics. So this forum is for general FX book questions now.

Forum Timezone: America/New_York

Most Users Ever Online: 152

Currently Online:
11 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Chaes: 56

Skyler: 48

StevieD: 46

Derek: 46

Frodson: 45

Peter: 43

TheSmile: 43

Nickolai: 43

clau_ste: 39

jeanlecode: 37

Member Stats:

Guest Posters: 1

Members: 768

Moderators: 1

Admins: 6

Forum Stats:

Groups: 13

Forums: 42

Topics: 842

Posts: 3347

Moderators: W Pirkle: 689