P.S. VS2022 Pro, Win 10Pro, LTSC
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Debugging problem with version 8.1.2
Collapse
X
-
Debugging problem with version 8.1.2
In general, a strange situation. With version 8.0.28, everything is OK. Debugging works. With version 2.1.* everything is bad. The symbols are loaded, but the breakpoint does not work. I don't know what to do anymore, I just have to ask here.
P.S. VS2022 Pro, Win 10Pro, LTSCLast edited by alexr; 11-06-2023, 12:32 PM.Tags: None
-
Hello alexr,
You could hover your mouse over the breakpoint and follow the instructions in the breakpoint message seen below.
"To allow this breakpoint to be hit: click the 'Settings...' button that appears, then click 'Location', 'Allow the source code to be different from the original'.
After following those instructions the breakpoint will be hit.
After clicking the Settings button in that hover dialog the Location it mentions is the blue link at the top of the options. You can then check the box to allow the breakpoint and it will turn red/be hit. It will produce a warning the first time its hit and you can select yes to allow the breakpoint to be hit. After that it can be hit multiple times without warning.
-
Of course, this is the latest compiled assembly. I noticed the following thing, after cleaning the Tmp folder and after compilation, another copy of the dll compiled a day earlier appeared, but it doesn't seem to be added to the debugger. It does not match the content of the last copied file, and is almost identical to NinjaTrader.Custom.dll. No changes were made to the source code.
All this looks very strange.
For now, I disable the source code check while working, but it is not very convenient.
Comment
-
- Likes 1
Comment
-
Hello frslvr and fx.practic,
The steps to allow breakpoints to be hit is listed in post number 2. If you mouse over a breakpoint it also lists the instructions to allow for breakpoints to be hit, that is the second image in post 1. You can enable that for individual breakpoints or you can also change the settings in visual studios configuration to always allow breakpoints. To get to the dialog shown in the image you can hover the mouse over a breakpoint.
Comment
-
alexr, please, explain how did you do this: "I disable the source code check while working"?
I found this instruction: https://learn.microsoft.com/en-us/vi...s?view=vs-2022
Is this what you did?
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
597 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
343 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
103 views
0 likes
|
Last Post
by Mindset
02-09-2026, 11:44 AM
|
||
|
Started by Geovanny Suaza, 02-02-2026, 12:30 PM
|
0 responses
556 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
555 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment