debugging
Monkey Targets Forums/Windows 8/debugging
| ||
Hi I'm finding it really hard to debug for Windows 8 in Monkey / Visual Studio I have some code that works perfectly in html, XNA and android but crashes at some point in windows 8.1 I'm trying to add Print statements in the code so I can see where the code crashes, yet I dont seem to have an output console, or log to view these Print statements. I'm assuming a resource hasnt loaded, but i cant find out which one. Heres the code where it done crash. GC_REMOVE_NODE( p ); template<class T> void gc_mark_q( T *t ){ gc_object *p=dynamic_cast<gc_object*>(t); if( p && (p->flags & 3)==gc_markbit ){ p->flags^=1; GC_REMOVE_NODE( p ); GC_INSERT_NODE( p,&gc_queued_list ); } } Which looks like Marks garbage collector.. I do not know the Visual Studio interface very well. Any tips on troubleshooting please? ta Rich |
| ||
I've found the line in the larger code that crashes the app...img = LoadImage(file,w,h,frames) When I rip out the code and test in a smaller separate app, the code works fine. I'm using the same image and code... code it be a memory issue? if so, how do I test? I hope not, I am on a nokia lumia 925 |