Comments
8 comments
-
The file name doesn't mean anything in particular regarding how it needs to be run so don't worry about that.
There could be a couple of reasons. The most likely is that the PDB files aren't in the same directory as the executable. It therefore isn't showing any source code. Any methods without source are hidden by default (see the combo box with - "Top Down, methods with source").
If you change this to Top Down (any method) you may see more method calls. Placing the PDB files in the directory may resolve this problem.
Let me know if it helps.
Stephen -
Thanks for your responce. I can see more methods now but not all. All the referenced dll's have a PCB file in the bin dir, so that's probably not the reason for this to happen. The only one that doesn't is a C++ dll made for C# (SlimDX). But this doesn't change the fact that all other dll's have a PCB in it. Also the form doesn't even show up. When I run it from Visual Studio there's clearly a form showing up with all sorts of events happening, but not when I run it from ANTS Performance Profiler...
-
When you say "the form doesn't even show up" do you mean your application is behaving very differently whilst profiling in ANTS? Sorry to ask a dumb question but are you sure its not just hidden somewhere- teh only reason I ask is that, of all the problem that can happen, this is not one I have heard of ever.
About your other problems- sometimes you have to change the "filters" on ANTS to see what you think your should be seeing. If there is a method you think should be displayed, try this technique:
1. Click on the "Show methods grid" button (a little bit tricky to find as its very small but its always docked above the source code-view, to the far left and its the middle of the three little buttons)
2. Ctrl-F (for "find") then type in the namespace the method belongs to (not case-sensitive).
3. If you still can't see the methood you think should be there- ensure you have selected: Display "Any method" (a drop-down list); "(All Theads)" (drop-down); deselect "Hide Insignificant methods" (checkbox).
Phew! -
I will try the list of things you told me to when i get to my work. But yes the program is acting different, the form is simply not showing up in windows 7. I just started up windows vista yesterday to test it as well, and guess what, it showed up. So i really think there´s nothing wrong in general with my program. Maybe it´s a weird combination of some aspects?
Vista was preinstalled with 32 bits
Win7 I installed as 64 bits
when I run the program from visual studio or my hard disk it shows up just fine. Not when i use Ants though. -
OK, thanks for trying it on different systems - that makes the trouble-shooting process a lot easier.
For now - I will log this as a bug and put it down to Windows 7 incompatibility. We certainly will support Windows 7 when it is a fully released product but, for now, I think its wiser to anticipate problems. Is this a "show-stopper" for you? -
just to clarify, the application is using Directx9 through SlimDX (slimdx.mdxinfo.com). It's not a real show-stopper for me but it does seem like a weird problem, so I wanted to see if there's a solution or maybe report a serious bug.
It's not a show-stopper, it's simply annoying to go to vista just for ANTS :-) -
You may find the RC works better (still no guarantees yet though, sorry)
http://downloads.red-gate.com/ANTSProfi ... AnyCpu.exe (ANTS Performance Profiler 5 RC) -
ARGGG trial is over
now we will never find out ;-)
Add comment
Please sign in to leave a comment.
ants profiler doesn't display my project, it does run though (the graph is drawing). The weird thing is that when i stop the process, i cannot get any further into the code then the main entry function.
The download says "anyCpu", does this mean that i need to build my project with AnyCPU? cause this doesn't work on my Windows7 X64 setup, which is why i set all my builds to x86.
I hope someone can help me out
Jan