• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Suggestion: not to freeze NT charts and OutputWindow while debugging in VisualStudio

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

    Suggestion: not to freeze NT charts and OutputWindow while debugging in VisualStudio

    Now, when debugging in VisualStudio, all NT windows (including charts and OutputWindow) are freeze.

    It can be very convenient, to see on directly on chart results of all commands while dubugging.

    For example, in VS I debug my indicator when CurrentBar == 50. And I'd like to see at that moment 50 bars on chart an all calculated indicator values for these 50 bars, and all messages printed to OutputWindow.

    Thank You.

    #2
    Originally posted by fx.practic View Post
    Now, when debugging in VisualStudio, all NT windows (including charts and OutputWindow) are freeze.

    It can be very convenient, to see on directly on chart results of all commands while dubugging.

    For example, in VS I debug my indicator when CurrentBar == 50. And I'd like to see at that moment 50 bars on chart an all calculated indicator values for these 50 bars, and all messages printed to OutputWindow.

    Thank You.
    I don't use that, so I don't know exactly what the freeze is doing to you,
    but it sounds like you need to refresh the chart manually in your code?

    ChartControl.Refresh() ?

    Well, just an idea/guess.

    Comment


      #3
      Thank You for idea!

      But I mean, than any window at NT is not operable, they don't interact with user.

      And chart window with indicator that under debugging is just white (look at screenshot at attachment) - it shows nothing until debugging wil stop, or until all bars on chart are calculated.
      Attached Files

      Comment


        #4
        Hello fx.practic,

        Thank you for your post.

        Are you seeing the freezing only when menus are open, such as the indicators menu? Are there any specific steps that cause this freezing or does it occur no matter what when debugging in VS?
        Patrick H.NinjaTrader Customer Service

        Comment


          #5
          I made video: http://screencast.com/t/tvEv5wtQs

          While debugging I can't see what is drawing and ploting on chart.

          Am I do somethig wrong, or this in normal situation?

          Comment


            #6
            Hello fx.practic,

            Thank you for your response.

            That would be the proper behavior until you stop the debugging process in Visual Studio.
            Patrick H.NinjaTrader Customer Service

            Comment


              #7
              Oh, I understand that this is proper behavior!

              And I suggest make possible to see results of debugging on chart: if CurrentBar = 10, it would be grate to see 10 candles on chart and 10 calculatet points of indicater.

              This is my suggestion.

              Thank You.

              Comment


                #8
                Hello fx.practic,

                Thank you for your response.

                This has been submitted as a suggestion to our development team.
                Patrick H.NinjaTrader Customer Service

                Comment


                  #9
                  This would be very useful and would make debugging more efficient.

                  Comment

                  Latest Posts

                  Collapse

                  Topics Statistics Last Post
                  Started by pjsmith, Today, 12:50 AM
                  0 responses
                  1 view
                  0 likes
                  Last Post pjsmith
                  by pjsmith
                   
                  Started by quinton77, Yesterday, 09:59 PM
                  1 response
                  5 views
                  0 likes
                  Last Post NinjaTrader_EricB  
                  Started by akuntysh, Today, 12:02 AM
                  0 responses
                  2 views
                  0 likes
                  Last Post akuntysh  
                  Started by Revan, Yesterday, 11:53 PM
                  0 responses
                  5 views
                  0 likes
                  Last Post Revan
                  by Revan
                   
                  Started by allangl, Yesterday, 10:50 PM
                  0 responses
                  7 views
                  0 likes
                  Last Post allangl
                  by allangl
                   
                  Working...
                  X