Forum Discussion
lblackburn
12 years agoHonored Guest
Followed MinimalOculus and get error
Hi all. For background I'm using Windows 7 64-bit and Visual Studio C++ 2010 Express. I do not have the oculus connected because it does not get here until tomorrow :cry: When I build and run the...
jherico
12 years agoAdventurer
If it's crashing in System::Destroy and you're not seeing normal behavior before that (i.e., it's not just crashing when you exit, but on startup) then what you're seeing is actually likely a secondary effect. In other words, something in your application throws an exception, and during cleanup System::Destroy() gets called and it too throws an exception, meaning you don't see the actual exception.
Have you tried stepping through the code? In particular, you could try putting a breakpoint at System::Init() in your own Init() method and step over the functions one by one until you see an error or exception thrown. The compiler will actually probably automatically hit a breakpoint if a null pointer is accessed. I'm not sure, I mostly use Eclipse these days, but I seem to remember VS would do that as well.
Have you tried stepping through the code? In particular, you could try putting a breakpoint at System::Init() in your own Init() method and step over the functions one by one until you see an error or exception thrown. The compiler will actually probably automatically hit a breakpoint if a null pointer is accessed. I'm not sure, I mostly use Eclipse these days, but I seem to remember VS would do that as well.
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 4 months ago
- 7 months ago