I am trying to debug a problem in an audio plug-in (VST3), where none of my
controls (knobs, etc.) seem to be actually changing anything besides the GUI
itself. There is a function called setParameter() that is called when a
control like this changes, and when I run it in the debugger, it steps into
that function, hits the switch statement that responds to each individual
specific control, but strangely it then simply steps over to the default
clause, which does nothing, and then exits the function. I can see that the
variable used in the switch statement is a valid value that should cause it to
hit one of the case statements, but it does not go there. Also, if I look at
the drop-down list of functions in that .cpp file, it says that I am inside
another function called timerChecks(), not in setParameter(), even though I am
clearly inside setParameter(). If I open that drop-down list of functions, then
the list abruptly ends at that timingChecks() function!
I’ve tried cleaning the project, quitting Xcode and deleting the entire build
folder, and rebuilding, but it’s still the same. It’s as if Xcode has no idea I
even have any functions after timingChecks(). If I enter invalid code in any
later function, the build fails on the line of garbage, but it still says I am
inside timingChecks().
How can I fix Xcode so that it sees all of my functions, and so that my code
executes the code I have actually written and compiled?
Thanks,
Howard
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/xcode-users/archive%40mail-archive.com
This email sent to [email protected]