Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Obfuscated dll + Debugger VS

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

    Obfuscated dll + Debugger VS

    Hello,

    I have developed an indicator which uses an external dll.
    This dll is obfuscated and located in the bin / Custom directory.

    When I attach the Visual Studio debugger and try to open the Indicators dialog of a chart, the debugger throws an exception (even before selecting the protected indicator).



    I guess because all NinjaTrader scripts are in the same project, this behavior is expected.

    The problem arises when I send my indicator + obfuscated dll to my clients. They will not be able to debug their own indicators with VisualStudio.

    Thanks.
    Attached Files

    #2
    We 'execute' each indicator and trigger its OnStateChanged() method for SetDefaults as soon as you open the indicator dialog even if your indicator isn't selected.

    If you have some custom DLL which would execute code there that is 'obfuscated' then we could expect that behavior. Each obfuscation technique is a little different and I'm surprised your actually seeing exception there with an obfuscated DLL. Not sure if that is a bug or intended feature of the third party obfuscation.

    I would try contacting the DLL export / obfuscator company to see if anything could be done.
    BrettNinjaTrader Product Management

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    669 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    378 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    111 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    575 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    580 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X