New Posts New Posts RSS Feed: Questions about Cocktail 1.0
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login

Questions about Cocktail 1.0

 Post Reply Post Reply Page  12>
Author
mgood View Drop Down
IdeaBlade
IdeaBlade
Avatar

Joined: 18-Nov-2010
Location: Emeryville, CA
Posts: 583
Post Options Post Options   Quote mgood Quote  Post ReplyReply Direct Link To This Post Topic: Questions about Cocktail 1.0
    Posted: 06-Sep-2012 at 10:44am
Unfortunately, that's one of the outstanding issues and may not be fixed in the beta.
Back to Top
Walid View Drop Down
Senior Member
Senior Member
Avatar

Joined: 14-Nov-2010
Posts: 161
Post Options Post Options   Quote Walid Quote  Post ReplyReply Direct Link To This Post Posted: 06-Sep-2012 at 10:38am
Thanks for the link.

Cool, I can't wait to see the beta !
I hope you guys were able to fix the compilation issue in VS12 where the solution contains many Domain project.
Back to Top
mgood View Drop Down
IdeaBlade
IdeaBlade
Avatar

Joined: 18-Nov-2010
Location: Emeryville, CA
Posts: 583
Post Options Post Options   Quote mgood Quote  Post ReplyReply Direct Link To This Post Posted: 06-Sep-2012 at 9:28am
Sorry, I totally forgot about this. It's all coming back now. The solution is explained here:
 
 
A beta for DevForce/Cockail 2012 should be coming out later this month.
Back to Top
Walid View Drop Down
Senior Member
Senior Member
Avatar

Joined: 14-Nov-2010
Posts: 161
Post Options Post Options   Quote Walid Quote  Post ReplyReply Direct Link To This Post Posted: 06-Sep-2012 at 3:20am
Hi,

WPF application works fine, Silverlight aren't.

After contacting the guys from SymbolSource, here is their answer :

"I was still trying to figure this out in the meantime. So a blank Silverlight project that I created loads symbols for Cocktail.SL, but silently skip over calls. It doesn't user the source server to get actual sources, even though symbols get loaded just fine. The same code works from a console project, so only Silverlight seems affected.

This is what I referred to before with "partial trust problems". Indeed, Visual Studio 2012 has a new option under Debugger "Allow source server for patial trust assemblies". After enabling it I was able to step into Cocktail.SL code.

So there seems no other way but to upgrade :)"

Any ETA for a compatible version of Devforce/Cocktail with VS2012 ? :)


Back to Top
mgood View Drop Down
IdeaBlade
IdeaBlade
Avatar

Joined: 18-Nov-2010
Location: Emeryville, CA
Posts: 583
Post Options Post Options   Quote mgood Quote  Post ReplyReply Direct Link To This Post Posted: 04-Sep-2012 at 12:54pm
Originally posted by mgood

Originally posted by Walid

because it's like this in their Recommanded configuration (http://www.symbolsource.org/Public/Home/VisualStudio)
 
I tested with only this link (with and without authantication) and still the same issue  http://srv.symbolsource.org/pdb/Public
 
I just tested on another computer with VS Premium and I still don't download the sources. It still tries to find them on D:\Workspace ...
 
 
 
You only need one of the two. They recommend to use the personlized one. The public URL is if you don't have an account. If you have an account you should use the second one.
 
 
Oh, I think the MyGet one is new. Don't remember that from when I set it up in the first place. I only have the authenticated public one.
Back to Top
mgood View Drop Down
IdeaBlade
IdeaBlade
Avatar

Joined: 18-Nov-2010
Location: Emeryville, CA
Posts: 583
Post Options Post Options   Quote mgood Quote  Post ReplyReply Direct Link To This Post Posted: 04-Sep-2012 at 12:50pm
Originally posted by Walid

because it's like this in their Recommanded configuration (http://www.symbolsource.org/Public/Home/VisualStudio)
 
I tested with only this link (with and without authantication) and still the same issue  http://srv.symbolsource.org/pdb/Public
 
I just tested on another computer with VS Premium and I still don't download the sources. It still tries to find them on D:\Workspace ...
 
 
 
You only need one of the two. They recommend to use the personlized one. The public URL is if you don't have an account. If you have an account you should use the second one.
 
Back to Top
Walid View Drop Down
Senior Member
Senior Member
Avatar

Joined: 14-Nov-2010
Posts: 161
Post Options Post Options   Quote Walid Quote  Post ReplyReply Direct Link To This Post Posted: 04-Sep-2012 at 1:54am
I am looking with the guys of symbolsource. Looks like they have some issue in a no partial trust environnement (seems to be my case)
"We have had some reports about this failing in partial trust environments ..."
I will let you know about since others custumers might have the same problem
Back to Top
Walid View Drop Down
Senior Member
Senior Member
Avatar

Joined: 14-Nov-2010
Posts: 161
Post Options Post Options   Quote Walid Quote  Post ReplyReply Direct Link To This Post Posted: 04-Sep-2012 at 1:15am
because it's like this in their Recommanded configuration (http://www.symbolsource.org/Public/Home/VisualStudio)
 
I tested with only this link (with and without authantication) and still the same issue  http://srv.symbolsource.org/pdb/Public
 
I just tested on another computer with VS Premium and I still don't download the sources. It still tries to find them on D:\Workspace ...
 
 
Back to Top
mgood View Drop Down
IdeaBlade
IdeaBlade
Avatar

Joined: 18-Nov-2010
Location: Emeryville, CA
Posts: 583
Post Options Post Options   Quote mgood Quote  Post ReplyReply Direct Link To This Post Posted: 04-Sep-2012 at 1:01am
Why do you have two different locations for symbolsource.org?
 
There can be exceptions that are expected and handled. The CLR logs all exceptions that are thrown even if they are handled.
Back to Top
Walid View Drop Down
Senior Member
Senior Member
Avatar

Joined: 14-Nov-2010
Posts: 161
Post Options Post Options   Quote Walid Quote  Post ReplyReply Direct Link To This Post Posted: 04-Sep-2012 at 12:32am
Well I cheked, recheked and I see no difference between my conf and what it should be. 

In yellow from top to bottom :
- Enable just my code 
- Enable .NET framework source stepping
- Enable Source support
- Requires source to be exactly lilke the original version



only the modules from cocktail/caliburn are specified (the pdb are acorrectly downloaded).




I will try on another computer, maybe it's a problem with the localized version of VS Ultimate.

One last thing.
Since I unchecked Enable just my code, I have a LOT of exception in the logs from MS and ideablade's libs during the launch of the application. 
Do you have those errors too or should I look in my code and fix "I don't know what"  ?

'iexplore.exe' (Silverlight) : 'c:\Program Files (x86)\Microsoft Silverlight\5.1.10411.0\fr\System.Xml.debug.resources.dll' chargé
Une exception de première chance de type 'System.Xml.XmlException' s'est produite dans System.Xml.dll
'iexplore.exe' (Silverlight) : 'c:\Program Files (x86)\Microsoft Silverlight\5.1.10411.0\System.ServiceModel.dll' chargé
'iexplore.exe' (Silverlight) : 'Anonymously Hosted DynamicMethods Assembly' chargé
'iexplore.exe' (Silverlight) : 'BindingDebugging' chargé
Le thread '<Sans nom>' (0x27e4) s'est arrêté avec le code 0 (0x0).
Une exception de première chance de type 'System.Web.HttpException' s'est produite dans System.Web.dll
Une exception de première chance de type 'System.Web.HttpException' s'est produite dans System.Web.dll
Le thread '<Sans nom>' (0x20f0) s'est arrêté avec le code 0 (0x0).
Une exception de première chance de type 'System.Xml.XmlException' s'est produite dans System.Xml.dll
'iexplore.exe' (Silverlight) : 'ProxyBuilder' chargé
'WebDev.WebServer40.EXE' (Managé (v4.0.30319)) : 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Net.Http\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Net.Http.dll' chargé
Le thread '<Sans nom>' (0x21d8) s'est arrêté avec le code 0 (0x0).
Une exception de première chance de type 'System.IO.FileNotFoundException' s'est produite dans mscorlib.dll
Une exception de première chance de type 'IdeaBlade.Core.IdeaBladeException' s'est produite dans IdeaBlade.EntityModel.dll
Une exception de première chance de type 'System.Exception' s'est produite dans IdeaBlade.EntityModel.Edm.dll
Back to Top
mgood View Drop Down
IdeaBlade
IdeaBlade
Avatar

Joined: 18-Nov-2010
Location: Emeryville, CA
Posts: 583
Post Options Post Options   Quote mgood Quote  Post ReplyReply Direct Link To This Post Posted: 03-Sep-2012 at 7:00pm
Ok, so I tried on a clean solution I created from scratch and added Cocktail via NuGet. I can debug just fine. The source code should get downloaded into the src folder in the same folder as the pdb files. In your case you should see C:\Dev\Symbols\src\...

If that's not happening for you, then you missed a configuration step somewhere along the way.
Back to Top
mgood View Drop Down
IdeaBlade
IdeaBlade
Avatar

Joined: 18-Nov-2010
Location: Emeryville, CA
Posts: 583
Post Options Post Options   Quote mgood Quote  Post ReplyReply Direct Link To This Post Posted: 03-Sep-2012 at 5:33pm
Originally posted by Walid

For info, where are the downloaded source supposed to be ? In the same folder as the pdb (like C:\Dev\Symbols\Cocktail.SL.pdb\5487A997D3924AB9B300FD9D514FA8771) ?
 
 
 
Not sure actually. I never had to look for them.
Back to Top
Walid View Drop Down
Senior Member
Senior Member
Avatar

Joined: 14-Nov-2010
Posts: 161
Post Options Post Options   Quote Walid Quote  Post ReplyReply Direct Link To This Post Posted: 03-Sep-2012 at 2:08pm
For info, where are the downloaded source supposed to be ? In the same folder as the pdb (like C:\Dev\Symbols\Cocktail.SL.pdb\5487A997D3924AB9B300FD9D514FA8771) ?
 
 
Back to Top
Walid View Drop Down
Senior Member
Senior Member
Avatar

Joined: 14-Nov-2010
Posts: 161
Post Options Post Options   Quote Walid Quote  Post ReplyReply Direct Link To This Post Posted: 03-Sep-2012 at 2:04pm
thanks I appreciate
Back to Top
mgood View Drop Down
IdeaBlade
IdeaBlade
Avatar

Joined: 18-Nov-2010
Location: Emeryville, CA
Posts: 583
Post Options Post Options   Quote mgood Quote  Post ReplyReply Direct Link To This Post Posted: 03-Sep-2012 at 2:03pm
I haven't run into any issues on different machines, but that doesn't mean there isn't an issue. Let me look into it and see if I can figure out what's going on.
Back to Top
Walid View Drop Down
Senior Member
Senior Member
Avatar

Joined: 14-Nov-2010
Posts: 161
Post Options Post Options   Quote Walid Quote  Post ReplyReply Direct Link To This Post Posted: 03-Sep-2012 at 1:51pm
No older .pdb file in my solution's folder. I did pay attention to this point and made a clean of the solution (using cocktail fluch.cmd) before the first compilation.
 
In order to be 100% sure I didn't clean the wrong branch, I just deleted my Symbols directory and cleaned the solution. problems is still there, trying to find the source in D:\Workspace ...
 
Could it be possible the push to symbolsource had an issue ? I found this post which seems related but no real solution https://groups.google.com/forum/#!topic/symbolsource/pn7aPCJU24U
I didn't try yet the tools on the last post.
 
 
Back to Top
 Post Reply Post Reply Page  12>

Forum Jump Forum Permissions View Drop Down