473,382 Members | 1,247 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 software developers and data experts.

How to Set Breakpoint in a Silverlight Plugin(Dynamically Loaded) Assembly?

Dear All,
I am writing a Silverlight plugin assembly that is dynamically loaded by a website which is out of my control. It appears that I cannot set breakpoint within my DLL code. Please help me if some body knows the solution. I have read a few thread on this site and tried a few solutions, but still cannot get it to work.

I am using VS2008. The assembly is coded in C#. The project is created as a Silverlight assembly(DLL) and placed in a Visual Studio solution containing the DLL only. On the property page of the DLL project, I do not see the normal "debug" settings where you can specify the startup program. On teh [Debug] menu, both "Start debugging" and "Start without debugging" are grayed. The only option is to run the web site that loads the assembly. The I use "Attach to process..." and select IEXPLORER.exe with type "Script, Silverlight, x86". But when I set a breakpoint, it is always grayed. When I check the "Modules" tab, all modules have no symbols loaded.

I hope I have provided enough information and looking forward to a solution. Thanks in advance for any help.
Oct 6 '10 #1
1 1696
Thanks to all viewed. After some discussion with my XAP application supplier, I now got a solution and a simple solution. Basically, I just add the web site to my solution as an existing "Web Site" project. That means, my solution contains both the main web site and my Silverlight Assembly project. Of course, I need to enable "Silverlight Debugging" in the "Web Site" project.
Oct 19 '10 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: David Elliott | last post by:
I am trying to load an assembly and execute a method from a class. I have listed 3 parts to the code. 1) The Driver to load and execute 2) The Interface 3) The assembly I have a valid referece...
3
by: Max Bolingbroke | last post by:
Hi! I've run into a problem with my app, and I feel sure I'm missing something really basic! Essentially, I have a plugin architecture, so my main application searches a directory for DLLs,...
4
by: Jonathan Roewen | last post by:
Hi I've got loading assemblies dynamically done (wasn't too difficult). Now I want to lookup a static function in the loaded assembly, and if found, return it somehow, and call it from my app. So...
4
by: bremdevnet | last post by:
I have a ASPX page that loads a custom control. This first custom control is made up of 2 textboxes and a Submit button. The user enters data into the form, presses the Submit button and the ASPX...
2
by: Oenone | last post by:
I've an ASP.NET 2.0 project into which various Plug-In DLLs can be installed. I'm running it in the ASP.NET Development Server. In order to load one of the PlugIn DLLs I'm using...
2
by: Smithers | last post by:
Using 3.5, I am stuck in attempting to: 1. Dynamically load an assembly 2. Instantiate a class from that assembly (the client code is in a different namespace than the namespace of the...
0
by: =?Utf-8?B?Smlt?= | last post by:
I have an application that was built using asp.net 1.1. The application interviews the user with a parent form that loads a series of web user controls (.ascx files)dynamically with...
0
by: Paul Buckley | last post by:
Hi, I'm trying to gain access to a configuration section from within an assembly that has been loaded using Assemly.Load(byte). There is one main exe (lets say myApp.exe) and one config file...
1
by: xsd | last post by:
Hello 2 all, I have the following problem in finding the property value from the loaded assembly (control). I am the following setup: Language: C# OS: WinXP MVS 2005/2008 .NET 2.0 - 3.5
2
by: Kerem Gümrükcü | last post by:
Hi, i have a (simple) dynamic plugin architecture and i want to call a member function from the dynamically loaded assembly and its instanciated class. The Code looks like this: foreach...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.