BlackBerry Forums Support Community

BlackBerry Forums Support Community (http://www.blackberryforums.com/index.php)
-   Developer Forum (http://www.blackberryforums.com/forumdisplay.php?f=15)
-   -   Visual Studio 2005/BB 1.01.7 PlugIn DEBUG DOES NOT WORK (http://www.blackberryforums.com/showthread.php?t=123477)

Hockey Doug 04-02-2008 09:15 PM

Visual Studio 2005/BB 1.01.7 PlugIn DEBUG DOES NOT WORK
 
Hello:

I can compile, edit run, etc. with no issues. When I try to debug my application, it says "Debugger launched" and that is it; otherwise it runs basically the same as when I say "Start Without Debugging". Help!!!

I am not good enough to write code without the ability to debug it. The sample apps run in the 8700 simulator. The app I am using to expand on is the "Form Submit Sample" and it works BB Client and Server with no issues. I can enter data on the app in the simulator and it winds up in he database on the simulated server.

However, I cannot set breakpoints, or watch anything. Why? If I put a Debug.write('I am here!'); statement in, It compiles, but I never see the "I am here" in the output window. Why? I do see the details in the MDS Development Server Log and it shows up as a published application that says it is "Application Lauched by Debugger".

If someone, who has looked at this needs more info about this issue, please ask. I am completely stumped. If I use this same VS 2005 debugger for C++ I can set breakpoints and see debug output.


Thanks

brcewane 04-04-2008 10:36 AM

There are no debugging breakpoint support in the v1.0 of the tool. I haven't had a problem with the Debug.write(), works for me.

You can also use Dialog.display() as well to pop up message boxes. Hopefully there will be debugging support soon.

The debugger is an entirely custom debugger, it isn't using your Visual Studio debugger for C#, C++

Hockey Doug 04-04-2008 12:17 PM

Thanks. Thats bad. 2 more things though

1) I am using 1.01.7

2) It now appreas that even thought the project is compiling, the only code that is actually runing is from the designer, the code in the .mds file seems to be ignored. That is why the Debug.write is not working. Is the ouput from this supposed to show up in the VS 2005 Output Window? Or is there another window somewhere?


Thanks

iwebtech 05-15-2008 02:05 AM

We are also not able to debug our code. Can you please guide how to debug it?

Akshay.

brcewane 05-15-2008 07:47 AM

Down at WES... In the session on the VS plugin and the labs RIM is showing the new debugging functionality....

There is also a video on the developer section of the blackberry website showing the debugging capability that will be available "soon" in a public beta..

Media Library

Here is the link to the whole video library on VS.. they show a bunch of functionality that will be coming.
BlackBerry - Developer Video Library

Until then.. I guess it is Dialog.display() and Debug.write() methods


All times are GMT -5. The time now is 10:21 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.