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.
    fx.practic
    NinjaTrader Ecosystem Vendor - fx.practic

    #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
      fx.practic
      NinjaTrader Ecosystem Vendor - fx.practic

      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?

        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?
          fx.practic
          NinjaTrader Ecosystem Vendor - fx.practic

          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.

            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.
              fx.practic
              NinjaTrader Ecosystem Vendor - fx.practic

              Comment


                #8
                Hello fx.practic,

                Thank you for your response.

                This has been submitted as a suggestion to our development team.

                Comment


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

                  Comment

                  Latest Posts

                  Collapse

                  Topics Statistics Last Post
                  Started by junkone, Today, 11:37 AM
                  0 responses
                  3 views
                  0 likes
                  Last Post junkone
                  by junkone
                   
                  Started by quantismo, 04-17-2024, 05:13 PM
                  5 responses
                  34 views
                  0 likes
                  Last Post NinjaTrader_Gaby  
                  Started by proptrade13, Today, 11:06 AM
                  1 response
                  6 views
                  0 likes
                  Last Post NinjaTrader_Clayton  
                  Started by love2code2trade, 04-17-2024, 01:45 PM
                  4 responses
                  34 views
                  0 likes
                  Last Post love2code2trade  
                  Started by cls71, Today, 04:45 AM
                  2 responses
                  10 views
                  0 likes
                  Last Post eDanny
                  by eDanny
                   
                  Working...
                  X