I have I Sharepoint Timer job solution that has a dependent .dll of another solution . To debug 1st one, I just need to attach to the OWSTIMER.EXE process. But I'd need to debug the 2nd solution When the 1st call some method of the 2nd. I've been trying something like attaching the 2nd SLN to the 1st one process but it doesn't hit! I've thinking to attach both SLN to OWSTIMER.EXE but it's not possible. I've tried to attach the 2nd to OWSTIMER.EXE(OWSTIMER.EXE is using the 1st SNL but the dependent dll is the same one of the 2nd) so theoretically this should work! :/ I confess that probably something that is not completely clear about it. Has anybody any idea how should be this done? And (most important thing) could anybody explain me what's wrong with my reasoning???
How to debug solution of a dependent dll with two instance of visual studio?
754 Views Asked by hello B At
1
There are 1 best solutions below
Related Questions in DEBUGGING
- Eclipse find source file from library
- Debug native code in Android Studio
- Breakpoint "concurrency" in Intellij
- PhpStorm IDE. Collapse custom/debug code
- How does one debug infinite recursion in Haskell?
- Android Studio missing exception stacktrace in Logcat
- java FileNotFoundException wont locate a file in the same project
- How can I debug scala.js unit tests?
- Why Eclipse Debugger does not stop on scoped exception breakpoint (how to stop on handled exception)
- Suggestions for my Selection Sort / Java
- Fortran Debugging
- Debug Excel VSTO add-in when launched by double-clicking existing file
- Starting GDB with interpreter mi via .gdbinit file
- How to print call stack in Swift?
- Preventing threads in Xcode
Related Questions in .NET-ASSEMBLY
- In C#, How Can I Use Public Class Members(Methods Or Variables) From Different Assembly
- Parameter "StrongAssemblyName" must be specified if the flag "gacinstall" is used
- How to load assemblies to the current app domain to the c# project dynamically?
- Why am I getting the following error when compiling this assembly?
- Does CLR still loads the assembly in the process even when it has Ngen'd copy of that assembly
- How to add a reference to C:\Windows\Microsoft.NET\assembly
- Error "Could not load file or assembly 'Newtonsoft.Json or one of its dependencies" occurs every day
- Determine whether assembly is a gui application
- Is "CLR Integration" enabled at a database level or the server/instance level?
- How to persist CSharpCodeProvider generated assembly as byte[]?
- Should I unite business domains into one business layer
- .NET Framework compatibility issue
- Assembly Dependencies Change After Installation
- How to use "InternalsVisibleTo" attribute with Strongly named assembly?
- Referencing Library in ASP.NET Core 1.0 (vNext)
Related Questions in VISUAL-STUDIO-DEBUGGING
- Enable Debugging of Web App in VS2012 in non-IE Browsers
- C# trace (log) all code lines between two points
- DebuggerDisplayAttribute with partial classes
- Import-Module stops working sporadically
- How to debug an executable in visual studio using pdb file and source code in c++?
- Using/abusing a conditional breakpoint to manipulate a value
- Parallel watch Vs watch && Autos vs Locals in visual studio
- DOM Explorer not working in VS2015 RC
- Visual Studio debugger - run until next user prompt
- Executing method on stop debugging
- Unable to Debug Application on Android Phone
- How to automatically build Class Library project in the same solution, when I 'F5' the Start Project
- Determining assembly containing definition of type for variable in Autos/Locals/Watch window?
- Problems with F# callstack in Visual Studio
- Visual Studio doesn't recognize boolean as variable
Related Questions in PDB-FILES
- Visual Studio Profiler - how to see function body
- How to convert pdb file to xml using mdbg?
- Specifying path to pdb symbol file in cmake
- Loading pdb for msctf.dll from symbol server doesn't work
- pdb file is mising after PostSharp
- Source code lines number in stack trace for asp.net application in WinDbg
- VS15 Azure webapp remote debug can't find <project>.dll symbol file
- How to update the source location in symbol (.pdb) files
- Why can't VS get the published PDBs for my NuGet packages?
- PDBs and .NET Framework Debugging Control ini files when DLLs are in the GAC (in Production)
- Why is Visual Studio 2013 loading a mismatching PDB from a different folder?
- Can't find or open PDB - VS 2013 (C++)
- Pdb files, what does their lines mean?
- How to 'rename' a template instantiation without using inheritance?
- How to debug solution of a dependent dll with two instance of visual studio?
Related Questions in DLL-DEPENDENCY
- How to debug solution of a dependent dll with two instance of visual studio?
- Visual Studio not building a dependency of a project
- dll dependency problem - 3rd party package(Nuget) overrides the other in the output folder System.Runtime.CompilerServices.Unsafe dll
- Visual Studio auto restores dll packages
- Load DLL Library Error 126 - Trying to create a JVM
- A .NET DLL question
- Spring.net dependencies to consider in bindingRedirect
- How can Find all dependencies of an application?
- Azure cloud service: System.Net.Http.Formatting.dll requests old Newtonsoft.Json.dll -> role initialization fails
- Is this a good approach for managing common libraries?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
You dont really need to open a solution to debug its code.
I assume that you want to set breakpoints in the 2-nd solution. Simply go to File-> Open in VS and open a file from second solution, and place a breakpoint. It will work :)
Also, if everything else fails you can set breakpoints even without the code - just go to Debug->Breakpoints->new breakpoint and give the name of the namespace.class.method(), VS will resolve it to a correct method or number of methods if you have different overloads with the same name.
So do you need anything else or just to set up breakpoints in the 2-nd solution?