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?
757 views Asked by hello B At
1
There are 1 answers
Related Questions in DEBUGGING
- How to pass the value of a function of one class to a function of another with the @property decorator
- Visual Studio C++, breakpoints not stopping debugging DLL (GODOT GDExtention)
- Playwright JS: Getting an error when debugging using line numbers
- C++ skips line when promting for user to enter name of person being added to a string array
- Xcode: Can't Attach to process
- unity navmeshsurface prefab not found or whatever
- It seems to be a bug about "base::trace()" or "methods:::.TraceWithMethods()"?
- How to check reference counting issues when doing direct manipulations of CPython objects?
- How to scroll to the bottom of console window in PyCharm2019 automatically?
- need help debugging prolog
- Is there a way to deactivate (but not delete) conditional breakpoints when debugging?
- How can i debug a python exe which is created by using pyinstaller?
- Increment or Decrement volume programmatically on Xiaomi device adjusts it by 10 steps instead of one step
- Checking request JSON with image data
- Why cannot I set font of `xlabel` in `plotmf` in MATLAB?
Related Questions in .NET-ASSEMBLY
- .Net App has reference but is not being recognized in class
- Sharing runtime assembly in C# Roslyn script
- C# application crashes while using Matlab .Net Assembly
- Prevent copying of package reference using Visual Studio Publish
- Right way to generate shared code in source generators
- SSIS: FileLoadException for System.Runtime Version 6.0.0.0 in .NET Framework Project
- Wrong version loaded of "System.Servicemodel" when using a service reference
- Update .NET project dependency
- C# Assembly is deactivated and cannot run any code error
- Assembly Cannot be installed because of Existing Policy CLR
- .Net Program sometimes installs, sometimes fails at different places
- Type.GetType("ClassName") returns null
- Mixed mode .NET 4.0 assembly refuses to load in Windows 10 Pro but loads fine in Windows 10 Home
- How to extend an assembly from other assemblies in C#
- NuGet package updates are causing assembly loading issues
Related Questions in VISUAL-STUDIO-DEBUGGING
- Is there a way to deactivate (but not delete) conditional breakpoints when debugging?
- AttributeError: type object 'Callable' has no attribute '_abc_registry' -- debugging Dockerized Python Apps on VS Code
- Debugging MAUI issues from android playstore Crash details stacks
- Unable to debug C++/CLI dll using visual studio 2022 mixed mode (.NET Core, .NET 5+, native code)
- How to set breakpoints in Visual Studio Code for debugging kernel code running in QEMU?
- Heavy await/async when the Visual Studio Debugger is attached is slow?
- Visual Studio debugger extension - resolve switched stack
- C# DLL (using 3F DLLExport for exporting functions) not debuggable in Delphi application
- How can I debug a nodejs application in vscode using Arc browser?
- VScode testing fails when using the debugger in conjunction with a virtual environment
- Debugging spring boot in VS code problem: ClassNotFoundException: javax/smartcardio/CardPermission
- Visual Studio 2022 Debugger accept requests from remote machine
- Visual Studio 2022 debugging web application sits forever
- Json null reference exception ignoring try-catch block in debugger only, but catches fine in other contexts
- Debbugger equivocated evaluation of span instance right before calling MemoryMarshal.AsBytes
Related Questions in PDB-FILES
- What's virtual operator new/delete?
- Loading pdb files for external assemblies in visual studio
- How to get nuget pdb into output build of application
- How to copy .pdb files of Qt dynamic libraries with CMake?
- External tools for a RAD Studio / C++ / Windows project? (How to get PDB from RAD Studio and/or what are other options?)
- Pdb files fail to load when debugging C# project in dotnet 6
- Problem with pdbs and precompiled headers - VS2019
- Can we debug a running process in Visual Studio using PDB file and incomplete source code?
- Is it possible to exclude .cs file from PDB file?
- How to superimpose and calculate the RMSD for a large number of mmCIF(or PDB) files containing DIFFERENT proteins
- Visual C++: find symbol references without project
- Can't resolve Three.es.min.js in React-PDB-View component
- Cannot navigate as well as debug a method present in a class library project inside a .NET windows form solution
- How can I debug a custom clang-tidy check which I have written in Windows Visual Studio?
- Unable to load pdb symbols where mdb path is being loaded as Symbol file location Visual Studio
Related Questions in DLL-DEPENDENCY
- dll dependency problem - 3rd party package(Nuget) overrides the other in the output folder System.Runtime.CompilerServices.Unsafe dll
- Azure cloud service: System.Net.Http.Formatting.dll requests old Newtonsoft.Json.dll -> role initialization fails
- Visual Studio auto restores dll packages
- Load DLL Library Error 126 - Trying to create a JVM
- Visual Studio not building a dependency of a project
- How to debug solution of a dependent dll with two instance of visual studio?
- Spring.net dependencies to consider in bindingRedirect
- Is this a good approach for managing common libraries?
- How can Find all dependencies of an application?
- A .NET DLL question
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?
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)
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?