TheSwamp

Code Red => .NET => Topic started by: Bogy on May 25, 2020, 10:00:57 AM

Title: Breakpoints in forms - Bricscad
Post by: Bogy on May 25, 2020, 10:00:57 AM
Hello,

The code stop at breakpoints but I cannot debug:
"Your app has entered a break state, but no code is currently executing that is supported by the selected debug engine ..."

I've already tried:
 - Application.ShowModalDialog vs form.ShowDialog
 - to add useLegacyV2RuntimeActivationPolicy=false/true in app.config
 - NEXTFIBERWORLD - unknown in BricsCAD

How do you debug c# forms in Bricsacd?

Thank you,
Bogdan Sintoma




Title: Re: Breakpoints in forms - Bricscad
Post by: Atook on May 25, 2020, 03:30:10 PM
I'm curious to see if anyone has a solution. I had the same issue, and have just been doing my form debugging in AutoCAD. Either that or debug.writeline statements. :)
Title: Re: Breakpoints in forms - Bricscad
Post by: CADbloke on May 26, 2020, 02:26:37 AM
check your debug settings around "Just my code" ??
Title: Re: Breakpoints in forms - Bricscad
Post by: Bogy on May 26, 2020, 02:44:19 AM
Thanks for the suggestion, I changed but the same thing happens.
Note: in Modules - the dll has the status for User code = Yes (+ Symbols loaded).

Kind regards,
Bogdan