Book a Demo

Author Topic: Issue with DEBUG. "Warning, all breakpoints f  (Read 7684 times)

Kris Nunes

  • EA Novice
  • *
  • Posts: 13
  • Karma: +0/-0
    • View Profile
Issue with DEBUG. "Warning, all breakpoints f
« on: September 14, 2010, 03:14:02 pm »
"All breakpoints failed to bind, check if binaries built with debug information and source files sychronized with Model."

I am very new to EA and .Net. But I keep facing this issue while debugging. The application runs with the breakpoints  not binding. .

The breakpoint image is rendered as with a question mark symbol "?"

I am using Wndows XP, and EA 7.5 so it cannot be the issue with UAC.


Could someone please help me with this issue.

Thanks in advance,
Kris Nunes
« Last Edit: September 14, 2010, 07:15:25 pm by nuneskris »

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Issue with DEBUG. "Warning, all breakpoints f
« Reply #1 on: September 15, 2010, 08:32:02 am »
I don't know if you are using VS 2010, but build 863 has just been released with this line in the release notes.

Quote
Visual Execution Analyzer extended to allow debugging of applications using the .Net 4 runtime.

Kris Nunes

  • EA Novice
  • *
  • Posts: 13
  • Karma: +0/-0
    • View Profile
Re: Issue with DEBUG. "Warning, all breakpoints f
« Reply #2 on: September 16, 2010, 05:09:26 pm »
Thanks for your reply!!!

I am not using Visual Studio. This is a simple Helloworld code which I am trying to debug. The code runs fine, but does not debug. The breakpoints keep getting a ? symbol.

I am sure there is a configuration issue which I am missing here!

Below are the logs which I have captured. Thanks a million in advance.

Kind regards,
Kris Nunes

-------------------------------------------------------------
Running build script - Hello World Example      
C:\Documents and Settings\kris.nunes\My Documents\helloworld>csc Helloworld.cs       
Microsoft (R) Visual C# .NET Compiler version 7.10.3052.4      
for Microsoft (R) .NET Framework version 1.1.4322      
Copyright (C) Microsoft Corporation 2001-2002. All rights reserved.      
      
C:\Documents and Settings\kris.nunes\My Documents\helloworld Build completed with exit code 0      

The above are the logs for the build scripts
---------------------

Executing command: C:\DOCUME~1\KRIS~1.NUN\LOCALS~1\Temp\Build.bat      
Command completed with exit code 0      
[09887126]      Stack Limit threshold set to 3      
[09887422]      Default Directory is C:\Documents and Settings\kris.nunes\My Documents\helloworld      
[09887423]      C:\Documents and Settings\kris.nunes\My Documents\helloworld\Helloworld.exe targets .NET version v1.1.4322      
[09887426]      Debugger CLR runtime version is v1.1.4322      
[09888135]      Debug process in domain DefaultDomain      
[09888485]      Debug process in domain Helloworld      
[09888730]      Debug process in domain Helloworld.exe      
[09888889]      Warning, all breakpoints failed to bind, check binaries built with debug information and source files synchronized with Model      
[09888892]      Debug session ends for C:\Documents and Settings\kris.nunes\My Documents\helloworld\Helloworld.exe      


Above is the logs of the Debug
------------------

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Issue with DEBUG. "Warning, all breakpoints f
« Reply #3 on: September 20, 2010, 09:39:41 am »
If upgrading to the latest release of EA doesn't solve your problem I recommend contacting Sparx Systems support.

(PS. You are using Visual Studio to some degree, EA doesn't do the compiling itself, so it has to have been compiled by Visual Studio.)

Kevin G. Watson

  • EA User
  • **
  • Posts: 217
  • Karma: +0/-0
  • I love EVERYTHING including Microsoft
    • View Profile
Re: Issue with DEBUG. "Warning, all breakpoints f
« Reply #4 on: September 20, 2010, 10:53:15 am »
hi'ya ... possibly, but csc.exe is shipped with the framework;  and I don't see a debug switch... might the fact of no debug data not lead to the difficulty of binding breakpoints (been a while since I've not had the VS IDE to help out)...

Kevin [smiley=2vrolijk_08.gif]

Kris Nunes

  • EA Novice
  • *
  • Posts: 13
  • Karma: +0/-0
    • View Profile
Re: Issue with DEBUG. "Warning, all breakpoints f
« Reply #5 on: September 20, 2010, 02:39:30 pm »
Kevin Kevin Kevin,, Thank you so much. Well, like I said, I am new to the .Net framework and never had clue that the /debug switch existed.

Wish I could get you a beer, but I will have one for you cause you have saved me loads of time. Thanks again,

Kris

Kris Nunes

  • EA Novice
  • *
  • Posts: 13
  • Karma: +0/-0
    • View Profile
Re: Issue with DEBUG. "Warning, all breakpoints f
« Reply #6 on: September 20, 2010, 02:56:56 pm »
And a another thanks to you too Simon,

Kris

Kevin G. Watson

  • EA User
  • **
  • Posts: 217
  • Karma: +0/-0
  • I love EVERYTHING including Microsoft
    • View Profile
Re: Issue with DEBUG. "Warning, all breakpoints f
« Reply #7 on: September 23, 2010, 05:10:08 am »
Kris ;)  I got a nice warm glow thing going on 'ere.... and the beer was good, much appreciated.

You do know that that the nice folks at Microsoft have free Express editions of Visual Studio... C# and Web (which gives ya VB 7 C#).  They dont include the extensiblity framework so EA wont be able to connect up with the IDE... but it's better than a cmd line.

You can then use MSBuild to do the hard work

Have a good weekbyeah
Kevin  [smiley=2vrolijk_08.gif]

Kris Nunes

  • EA Novice
  • *
  • Posts: 13
  • Karma: +0/-0
    • View Profile
Re: Issue with DEBUG. "Warning, all breakpoints f
« Reply #8 on: September 30, 2010, 02:27:13 pm »
Hi,

Ok now I tried to get this to work on an C# ASP.Net MVC application deployed on the VS2010 development server. I am attaching the code to debug on the process, but i am not getting it to bind. I think it has to do with the version of the .Net framework.

Following is the log.

[26149465]      Stack Limit threshold set to 3
[26150117]      Default Directory is C:\Program Files\Common Files\Microsoft Shared\DevServer\10.0
[26150124]      C:\Program Files\Common Files\Microsoft Shared\DevServer\10.0\WebDev.WebServer40.EXE targets .NET version v4.0.30319
[26150130]      Debugger CLR version v1.1.4322 doesnt support target v4.0.30319
[26150134]      Debugger CLR runtime version is v2.0.50727
[26150140]      attached to process C:\Program Files\Common Files\Microsoft Shared\DevServer\10.0\WebDev.WebServer40.EXE
[26158701]      Warning, all breakpoints failed to bind, check binaries built with debug information and source files synchronized with Model
[26158708]      Debug session ends for C:\Program Files\Common Files\Microsoft Shared\DevServer\10.0\WebDev.WebServer40.EXE

Thanks in advance for any help!

Kind regards,
Kris Nunes

T

Aaron B

  • EA Administrator
  • EA User
  • *****
  • Posts: 941
  • Karma: +18/-0
    • View Profile
Re: Issue with DEBUG. "Warning, all breakpoints f
« Reply #9 on: September 30, 2010, 02:43:46 pm »
Kris,
What build of EA are you running?  I believe the latest build (863) added support for debug of .NET 4.0 applications.  See:
http://www.sparxsystems.com/products/ea/history.html#863

If you're running an older build of EA, it might be worth updating...

Kris Nunes

  • EA Novice
  • *
  • Posts: 13
  • Karma: +0/-0
    • View Profile
Re: Issue with DEBUG. "Warning, all breakpoin
« Reply #10 on: October 01, 2010, 03:50:10 pm »
Hi Aaron,

Thanks for the reply. I am using the latest build (863). I think the issue has to do with the version mismatch of Debug CLR.

The following is the log I have on debuging with .Net 4 (VS 2010, Build 863, c# ASP MVC .Net)

[10165871]      Stack Limit threshold set to 3
[10166170]      Default Directory is C:\Program Files\Common Files\Microsoft Shared\DevServer\10.0
[10166172]      C:\Program Files\Common Files\Microsoft Shared\DevServer\10.0\WebDev.WebServer40.EXE targets .NET version v4.0.30319
[10166174]      Debugger CLR version v1.1.4322 doesnt support target v4.0.30319
[10166176]      Debugger CLR runtime version is v2.0.50727
[10166179]      attached to process C:\Program Files\Common Files\Microsoft Shared\DevServer\10.0\WebDev.WebServer40.EXE
[10188886]      Warning, all breakpoints failed to bind, check binaries built with debug information and source files synchronized with Model
[10188892]      Debug session ends for C:\Program Files\Common Files\Microsoft Shared\DevServer\10.0\WebDev.WebServer40.EXE

After uninstalling .Net 1. I am able to debug and simple c# code with .Net 4.
But when I attach to an ASP .Net application process deployed on the development server which comes with VS2010, I am not able to select .Net4 to debug. It says failed to load CLR. So when I attach to .Net 2-3 it the debug does not bind with the following output.
[07148859]      Stack Limit threshold set to 3      
[07148912]      Default Directory is C:\Program Files\Common Files\Microsoft Shared\DevServer\10.0      
[07148915]      C:\Program Files\Common Files\Microsoft Shared\DevServer\10.0\WebDev.WebServer40.EXE targets .NET version v4.0.30319      
[07148918]      Debugger CLR runtime version is v2.0.50727      
[07148921]      Error attaching to process: [ch33096]known error 0x8013134B      

Kind regards,
Kris NUNES
Thanks in Advance!
« Last Edit: October 01, 2010, 07:06:09 pm by nuneskris »

Kris Nunes

  • EA Novice
  • *
  • Posts: 13
  • Karma: +0/-0
    • View Profile
Re: Issue with DEBUG. "Warning, all breakpoints f
« Reply #11 on: October 04, 2010, 07:33:31 pm »
Hi All,

There seemed to be an issue with .Net 4 CLR. I tried using .Net 2 and it worked well. This is good enough for me.

However, Sparx claims that .NET 4 ASP works with the build 863, but I had problems.

Thanks,
Kris Nunes