Author Topic: Breakpoints in forms - Bricscad  (Read 1501 times)

0 Members and 1 Guest are viewing this topic.

Bogy

  • Mosquito
  • Posts: 2
Breakpoints in forms - Bricscad
« 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





Atook

  • Swamp Rat
  • Posts: 1029
  • AKA Tim
Re: Breakpoints in forms - Bricscad
« Reply #1 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. :)

CADbloke

  • Bull Frog
  • Posts: 342
  • Crash Test Dummy
Re: Breakpoints in forms - Bricscad
« Reply #2 on: May 26, 2020, 02:26:37 AM »
check your debug settings around "Just my code" ??

Bogy

  • Mosquito
  • Posts: 2
Re: Breakpoints in forms - Bricscad
« Reply #3 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