Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC:

Debugging Application in VS 17.2.5 and xSharp 2.12.2.0 19 Aug 2022 13:09 #23394

  • DFoley
  • DFoley's Avatar
  • Topic Author


  • Posts: 3
  • Hi All
    I am having an issue starting debug mode in one of our xSharp projects. When I click Debug, Start New Instance, the output Window shows the Rebuild of the Project, but ends at that point without starting the application in debug mode.
    I have reproduced this issue by creating a brand new xSharp wpf Project, using the built in Template. The debug issue occurs without making any changes to the application. I am using Microsoft Visual Studio Enterprise 2022 (64-bit) Version 17.2.5 on Windows 11 with xSharp Version 2.12.2.0.
    Regards,
    David

    Please Log in or Create an account to join the conversation.

    Debugging Application in VS 17.2.5 and xSharp 2.12.2.0 19 Aug 2022 17:42 #23397

    • ic2
    • ic2's Avatar


  • Posts: 1608
  • Hello David,

    This is most likely one of the many VS flaws. I had it just a few days ago.

    After deleting the OBJ and BIN directories of the solution (where also the PDF files are located) and restarting VS it worked again.

    Dick

    Please Log in or Create an account to join the conversation.

    Debugging Application in VS 17.2.5 and xSharp 2.12.2.0 19 Aug 2022 21:52 #23407

    • robert
    • robert's Avatar


  • Posts: 3446
  • David,
    If this keeps happening then I would like to see an example project

    Robert
    XSharp Development Team
    The Netherlands

    Please Log in or Create an account to join the conversation.

    Debugging Application in VS 17.2.5 and xSharp 2.12.2.0 22 Aug 2022 10:17 #23432

    • DFoley
    • DFoley's Avatar
    • Topic Author


  • Posts: 3
  • Hi Robert
    You should be able to reproduce this in VS2022 by creating a brand new xSharp wpf Project, using the built in Template. Without making any changes to the Project I can reproduce the issue.
    Regards,
    David

    Please Log in or Create an account to join the conversation.

    Debugging Application in VS 17.2.5 and xSharp 2.12.2.0 22 Aug 2022 10:45 #23438

    • robert
    • robert's Avatar


  • Posts: 3446
  • David,
    I just tested this with X# 2.12.2.0 on a VS2022 Community version 17.3 and I see it too.
    I then updated X# to 2.13.0.7 and the debugging works as expected.
    I am not sure what caused this, but is fixed in the current release.
    Can you update to the latest version, or is that impossible ?

    Otherwise (since your company is a Corporate Sponsor) we could create a private build that combines the 2.12.2.0 runtime and compiler with the 2.13.0.7 VS integration.

    Robert
    XSharp Development Team
    The Netherlands

    Please Log in or Create an account to join the conversation.

    Debugging Application in VS 17.2.5 and xSharp 2.12.2.0 22 Aug 2022 12:23 #23442

    • DFoley
    • DFoley's Avatar
    • Topic Author


  • Posts: 3
  • Hi Robert
    Perfect. Thanks for that. We will work with the new build.
    Regards,
    David

    Please Log in or Create an account to join the conversation.

    Debugging Application in VS 17.2.5 and xSharp 2.12.2.0 15 Sep 2022 02:52 #23825

    • JohnBonnett88
    • JohnBonnett88's Avatar


  • Posts: 39
  • Hi All,
    I am running VS Pro V17.3.4 and X# V2.12.2 and I have a little problem I see when debugging, as follows:



    I have clicked on the View down-arrow, then click on visualizer, and get this.



    Can actually see what is in aResult by using that arrow to left of aResult, which shows an IEnumerable visualizer.

    Is there something I should adjust, or is it the VS integration?

    Best Regards,
    John
    Attachments:

    Please Log in or Create an account to join the conversation.

    Debugging Application in VS 17.2.5 and xSharp 2.12.2.0 15 Sep 2022 07:56 #23829

    • robert
    • robert's Avatar


  • Posts: 3446
  • John
    The IEnumerable Visualizer is a relatively new feature of VS that does not always work,.
    You should be able to see the contents in the locals window. The contents of a few elements is always shown.
    clicking on the + character allows you to see the rest

    Robert
    XSharp Development Team
    The Netherlands
    Attachments:

    Please Log in or Create an account to join the conversation.

    Debugging Application in VS 17.2.5 and xSharp 2.12.2.0 15 Sep 2022 07:56 #23830

    • robert
    • robert's Avatar


  • Posts: 3446
  • John
    The IEnumerable Visualizer is a relatively new feature of VS that does not always work,.
    You should be able to see the contents in the locals window. The contents of a few elements is always shown.
    clicking on the + character allows you to see the rest

    Robert
    XSharp Development Team
    The Netherlands

    Please Log in or Create an account to join the conversation.

    • Page:
    • 1