Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Visual Studio terminates NinjaTrader process upon attach

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

    Visual Studio terminates NinjaTrader process upon attach

    Photos of my steps are in the attachments.
    I am attempting to use Visual Studio to debug a ninjascript 8 indicator. In the ninjascript editor I change to debug mode and compile it. I then bring up Visual Studio through the ninjascript editor and attempt to attach to the ninjatrader process. The error is displayed in the attachments and the ninjatrader process crashes. Any idea what is going on?

    Click image for larger version

Name:	problem with NT and VS.jpg
Views:	114
Size:	133.2 KB
ID:	1339285



    #2
    Hello robertlaub,

    Thank you for your post.

    What version of NinjaTrader are you using?

    Was the "Attach to" field set to "Automatic: Managed code" or "Managed code" prior to attempting to attach to process?

    Comment


      #3
      Thank you for the quick reply.

      My NT version is 8.1.4.1 64-bit.

      The settings for the "Attach To" and "Code Type" fields are in the image from the first post.

      Comment


        #4
        Here are my choices:

        Click image for larger version

Name:	problem with NT and VS 2.jpg
Views:	98
Size:	30.2 KB
ID:	1339309

        Comment


          #5
          Do you have any protected assemblies installed in NT? If they were created with a prior version of Agile, this may be the cause of the crashing.

          Comment


            #6
            I have not knowly created any protected assemblies. What process can I use to determine if such assemblies are in NT?

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by Geovanny Suaza, 02-11-2026, 06:32 PM
            0 responses
            563 views
            0 likes
            Last Post Geovanny Suaza  
            Started by Geovanny Suaza, 02-11-2026, 05:51 PM
            0 responses
            329 views
            1 like
            Last Post Geovanny Suaza  
            Started by Mindset, 02-09-2026, 11:44 AM
            0 responses
            101 views
            0 likes
            Last Post Mindset
            by Mindset
             
            Started by Geovanny Suaza, 02-02-2026, 12:30 PM
            0 responses
            547 views
            1 like
            Last Post Geovanny Suaza  
            Started by RFrosty, 01-28-2026, 06:49 PM
            0 responses
            548 views
            1 like
            Last Post RFrosty
            by RFrosty
             
            Working...
            X