Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

NinjaScript editor: debugging instruments like Watch List, BreakPoints, Trace

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

    NinjaScript editor: debugging instruments like Watch List, BreakPoints, Trace

    Please, add to NinjaScript editor just simple instruments for debugging.
    At least Watch List (for variables values), BreakPoints, Trace.

    Even MetaTrader have debugging features for many years.

    Thank You.
    fx.practic
    NinjaTrader Ecosystem Vendor - fx.practic

    #2
    Hello fx.pratic,

    You may use Visual Studios to debug you NinjaScript code if you would like that has these features in them. Here is a link to our Help Guide that goes over step by step on how this can be done.



    Happy to be of further assiastance.
    JCNinjaTrader Customer Service

    Comment


      #3
      I'll try now, but You suggest to install 450 MB software (Visual Studios) to use 50 MB software (NT).
      Last edited by fx.practic; 05-31-2013, 08:17 AM.
      fx.practic
      NinjaTrader Ecosystem Vendor - fx.practic

      Comment


        #4
        Hello fx.practic,

        If you want the ability to add WatchLists, BreakPoints, etc... that would be the best way to do it as Visual Studios is quite a powerful debugger. The install size maybe a bit larger but most computers now days will have plenty of room.

        There are built in ways to debug your code like using the Print() method, set TraceOrders to true for order submissions, or using Try-Catch Blocks and then opening up the Tools -> Output Windows to see the results.

        Here is a thread that goes over the Print and TraceOrders method that you may view.


        This thread has a reference sample on how to use a Try-Catch Block that you may view as well.
        JCNinjaTrader Customer Service

        Comment


          #5
          OK, thank You - I'll try VS.
          fx.practic
          NinjaTrader Ecosystem Vendor - fx.practic

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by PaulMohn, Today, 03:49 AM
          0 responses
          3 views
          0 likes
          Last Post PaulMohn  
          Started by inanazsocial, Today, 01:15 AM
          1 response
          7 views
          0 likes
          Last Post NinjaTrader_Jason  
          Started by rocketman7, Today, 02:12 AM
          0 responses
          10 views
          0 likes
          Last Post rocketman7  
          Started by dustydbayer, Today, 01:59 AM
          0 responses
          2 views
          0 likes
          Last Post dustydbayer  
          Started by trilliantrader, 04-18-2024, 08:16 AM
          5 responses
          23 views
          0 likes
          Last Post trilliantrader  
          Working...
          X