Debugging Blend from Visual Studio. No characters loaded

I am trying to debug a problem with some code running in DesignTime in Expression Blend 2013.

I have a Windows Store project (8.1) that loads in Blend. I want to debug some ViewModel code that runs in the Blend designer.

In previous projects, I opened the same project in Visual Studio and made the "Debug - Attach Process" for Blend.

The problem that I see on the current dev machine is that all breakpoints are invalid. They display a warning

At the moment, the breakpoint will not be deleted. No characters have been uploaded for this document.

These breakpoints work fine if I just debug it - run it in Visual Studio and deploy the emulator. Why doesn't Blend allow me to attach and debug?

TIA

Pat long

+4
source share
2 answers

I needed to debug another process. If in the past he connected to Blend.exe for Windows Store applications, this did not work.

After using Proc Explorer from sysinternals, I managed to find my dlls. This showed that they were loaded by a process called xdesproc.exe.

The process was specified in Visual Studio "Attach to Process" as x86 without managed code. When I put in a lot of something.

Then I changed the “Attach to:” settings from “Automatic” to explicitly say “Debug” these types of “Managed (v4.5, v4.0)” code.

. !

+3

...

, "/ " ""... VS/Blend 2015 XAML .

, , .

, VS, XDesProc , , , " . [ ] ". , - , Modules, , .

- , . , . - .

, .

0

Source: https://habr.com/ru/post/1547989/


All Articles