No breakpoints available in Windows CE6

  • Dear support Team


    I've some problems with debugging my application on the ArmStone board running Windows CE6.
    First of all let me just describe my infrastructure:


    - I have your armStone board running Windows CE6
    - I have a PC running Windows 7 x64. On this machine a VirtualBox is running Windows XP with SP3.
    - On the Windows XP I have both installed Visual Studio 2005 with SP1 and Visual Studio 2008 with SP1.
    - I now have compiled our application on Visual Studio 2008 against our own Platform for ArmV4i
    - After that I copied the executables CMAccept.exe, ConmanClient2.exe and all needed dlls to the armStone.
    - I started the CMAccept.exe and the ConmanClient2.exe to get a remote connection to my Visual Studio debugger.
    - In the Visual Studio I connected to the armStone device.
    - After that I deployed all needed parts of our software to the armStone device.
    - Now our applications starts up and everything went well so far.


    Now here is my problem. I want to debug our application via ConmanClient2.exe, but no breakpoints are available. The message of the unavailable breakpoint is: "The Breakpoint will not currently be hit. No executable code is currently load at this location".
    This is very strange, because the application was compiled in Debug mode and the Modules window of the Visual Studio says that all Symbols are loaded. Do you know any solution for my problem?


    I have a clue that it is not possible to get any Breakpoints because the CMAccept.exe and the ConmanClient2.exe are not for ARM7. They are located under C:\Program Files\Common Files\MicrosoftShared\CoreCon\1.0\Target\wce400\armv4 (or armv4i). Unfortunatelly there is no armv7 folder.


    Do you know what's going wrong with my breakpoint?



    Regards
    koeppben

  • Hello,
    i dont think that your suggestion i right bacause VS200x always built armv4i code. For armv7 code you have to include your project as a subproject into a OSDesign.


    Code
    1. I now have compiled our application on Visual Studio 2008 against our own Platform for ArmV4i

    Please install SDK from F&S. Does the problem persit?


    Did you checked http://www.fs-net.de/phpBB2/vi…715&hilit=breakpoint#p715? But this is only interesting for .NET code.

    F&S Elektronik Systeme GmbH
    As this is an international forum, please try to post in English.
    Da dies ein internationales Forum ist, bitten wir darum, Beiträge möglichst in Englisch zu verfassen.

  • Hello!


    Unfortunally installing your CE SDK and building against it didn't solve the problem. I also build a simple Hello World application (against your SDK and against our SDK) - same problem. By the way my application is written in Ansi C. Do you have any other ideas I can solve the problem?




    regards
    koeppben

  • I think the problem denpends on your special enviroment, so i have also to search the www for this.
    Have you installed a VS200x on your W7 maschine?

    F&S Elektronik Systeme GmbH
    As this is an international forum, please try to post in English.
    Da dies ein internationales Forum ist, bitten wir darum, Beiträge möglichst in Englisch zu verfassen.

  • Hi!


    The special environment is not the problem. I changed the environment and went to another PC (native Windows XP with SP3, VS2008 SP1 and VS2005SP1). Same result - no Breakpoints!
    I tested another application of us (C++) also the same result. Now I switched to another target Hardware (Windows CE 6 but from Beckhoff). Works fine, all Breakpoints are available (Ansi C and C++). This is a strange behaviour.
    I found nothing in the www. Don't know how to get on with my work.



    regards
    koeppben

  • Ok sounds demonstrative, i will test it on Monday when i am back in the office. I will use latest SDK and CE6 kernel for this test.


    But i run already on my W7 maschine several Win32/MFC projects under WCE6 (at the time i use EC7 kernel) and i know also from customers that i works without problems. Please check your platform and project settings again.

  • Hello!


    After thousands of restarts (Visual Studio restart) and thousands of tears ;-) debugging now is possible. I don't know why it is possible now, but I am happy about it.
    Thank you for your help. If I will find out what was going wrong I will post it in this thread.



    regards
    koeppben

  • Hello, thanks for the information.
    Maybe the problems are a result of a "platform mix" in the project file?
    Does the problem persit if you create a complete new project?

    F&S Elektronik Systeme GmbH
    As this is an international forum, please try to post in English.
    Da dies ein internationales Forum ist, bitten wir darum, Beiträge möglichst in Englisch zu verfassen.

  • Hello!


    Last friday I started a complete new "Hello World" project with the bad no breakpoints result. But today a complete new "Hello World" project worked fine. I really don't know what kind of (Microsoft) magic this is.


    regards
    koeppben