Forums | developer.brewmp.com Forums | developer.brewmp.com

Developer

Forums

Forums:

I'm using the Grinder to test may app. After about 3K key strokes (0ms pause b/w them), my app finally gets an error.

When I click on debug and use V C++.net to debug the app, it takes me to a function that doesn't seem to have any null pointers or anything odd going on, which leads me to believe V C++.net isn't going to the correct function.

In Visual C++.net, you can debug the app, but I am unable to start the grinder when I load the emulator this way. Is there some kind of workaround for this, so I can start Grinder while I'm debugging the app?

Any help appreciated.

Heyo illiterit,
VC should halt your program at the line of code that caused the fault; you should not have to click on any debug button to view faulty code unless the Emulator itself shows that "MEMCPY" or other error in it's little graphical window....
Are you running a Debug configuration from VC? Are you running this debug build "without debugging" (CTRL + F5?)
If so then I suggest grinding _with_ debug.
-Nick

Heyo illiterit,
VC should halt your program at the line of code that caused the fault; you should not have to click on any debug button to view faulty code unless the Emulator itself shows that "MEMCPY" or other error in it's little graphical window....
Are you running a Debug configuration from VC? Are you running this debug build "without debugging" (CTRL + F5?)
If so then I suggest grinding _with_ debug.
-Nick

When I debug from within VC++, I am unable to see the Grinder option that I can see when I run the emulator by itself.
Is there a way to enable the Grinder when I'm debugging?
What is the grinding _with_ debug option you referred to?

When I debug from within VC++, I am unable to see the Grinder option that I can see when I run the emulator by itself.
Is there a way to enable the Grinder when I'm debugging?
What is the grinding _with_ debug option you referred to?

Okay, so for you right-clicking on the emulator sometimes shows a Grinder menu, sometimes not.
By grinding with debug, I'm just referring to using The VC Menu->Debug->Start command.
From your first post I'm suspicious that your configuration is setup to run the emulator, then to "attach" to it with VC...and I know there's other successful ways to debug stuff. With the VCMenu->Debug->Start thing I can grind directly from an emulator that VC itself launches.
Also, for me the Grinder is always enabled...no matter how I run the emulator, because I've copied the grinder.dll files everywhere.
I'd first theorize you've got two sdk's on your rig, one with grinder dll's in the bin\ directory, the other without, and it just happens that VC launches the other. Is this the case?
-Nick

Okay, so for you right-clicking on the emulator sometimes shows a Grinder menu, sometimes not.
By grinding with debug, I'm just referring to using The VC Menu->Debug->Start command.
From your first post I'm suspicious that your configuration is setup to run the emulator, then to "attach" to it with VC...and I know there's other successful ways to debug stuff. With the VCMenu->Debug->Start thing I can grind directly from an emulator that VC itself launches.
Also, for me the Grinder is always enabled...no matter how I run the emulator, because I've copied the grinder.dll files everywhere.
I'd first theorize you've got two sdk's on your rig, one with grinder dll's in the bin\ directory, the other without, and it just happens that VC launches the other. Is this the case?
-Nick

Yup, I have two versions of Brew on my machine.
I was finally able to get the Grinder to start in the emulator I started from VC. I used the new tool Qualcomm added to create a project in VC++.Net and that enabled me to use the grinder.
I'm not exactly sure why the project I was using before didn't enable me to do it, but it's working now. Hopefully they'll have some magical settings in this new project which will prevent my program from crashing, but that's doubtful. :-)
I thank you for your help.

Yup, I have two versions of Brew on my machine.
I was finally able to get the Grinder to start in the emulator I started from VC. I used the new tool Qualcomm added to create a project in VC++.Net and that enabled me to use the grinder.
I'm not exactly sure why the project I was using before didn't enable me to do it, but it's working now. Hopefully they'll have some magical settings in this new project which will prevent my program from crashing, but that's doubtful. :-)
I thank you for your help.

Sure. Indeed there is quite a pile of tricks for smoothing out ones BREW development. Cheers!

Sure. Indeed there is quite a pile of tricks for smoothing out ones BREW development. Cheers!