LLBLGen v5.0 debugging lpt template

Posts   
 
    
AtA2k7
User
Posts: 3
Joined: 28-Jul-2016
# 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

Attachments
Filename File size Added on Approval
llblgen.PNG 21,566 28-Jul-2016 09:31.34 Approved
Otis avatar
Otis
LLBLGen Pro Team
Posts: 39568
Joined: 17-Aug-2003
# 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.
Frans Bouma | Lead developer LLBLGen Pro
AtA2k7
User
Posts: 3
Joined: 28-Jul-2016
# 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!!!