Forum:  Custom Templates

Thread:  LLBLGen v5.0 debugging lpt template


AtA2k7 (User)   Posted on: 28-Jul-2016 09:31:20.
Hey,

LLBLGen seem to crash when it hits Debugger.Break();



<[ System.Diagnostics ]> is set at the beggining and non debug generation runs just fine.


other info: Windows 10, Visual Studio 2015

Kind Regards

Rok
Otis (LLBLGen Pro Team)   Posted on: 28-Jul-2016 10:11:52.
It doesn't crash, that's the moment you have to attach a debugger. But that only works if you have vs.net installed I think, as it should give a dialog to attach a debugger.

Anyway, the other way is to do the following:

- right before running the template, attach an empty vs.net instance to the llblgen pro designer, using control-alt-p inside vs.net
- run the templates using debug mode
- vs.net you attached will break at the breakpoint you set.


AtA2k7 (User)   Posted on: 28-Jul-2016 10:19:49.
Thank you, manualy attaching debugger in advance works. Seems like something is wrong with showing the window.

Great support!!!