Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Blank window after solution analysis #2

Open
aschekatihin opened this issue Jun 7, 2018 · 18 comments
Open

Blank window after solution analysis #2

aschekatihin opened this issue Jun 7, 2018 · 18 comments

Comments

@aschekatihin
Copy link

Tried to install extension on VS 2017 community edition. After solution analysis graph window remains blank. No errors reported.

image

@league1991
Copy link
Owner

@aschekatihin That's expected. You can place the cursor on a function and press Alt+F, that will show the function in viewport.

@brannigan32
Copy link

brannigan32 commented Jun 15, 2018

Hi. I got the same behavior with the blank screen and no error message. But even if I use ALT+F nothing happens. Also the "search" or "symbol" are complete empty. Is that also as expected?

@league1991
Copy link
Owner

league1991 commented Jun 18, 2018

@brannigan32 That isn't expected... You can check if there is any file in "[solution folder] / CodeGraphData/Result_solution/xml" folder. If the answer is yes, that means the analysis process succeed. Otherwise, some errors occured when CodeGraph try to scan the projects. You can select some of them and use "Analyse Selected Projects" to isolate the problematic ones. If it's appropriate, you can also send your whole VS solution to me.

@brannigan32
Copy link

Hi. Yes there are a bunch of files (mainly xml files) the folder xml. So it seems, that the analysis processed. But if I go to the souce code, mark a function and press ALT+f nothing happens. Any ideas? Thank you.

@league1991
Copy link
Owner

@brannigan32 Open index.xml in that folder to see if the function you tried is in the list.
If not, the code file in which you tried Alt+F is probably not analysed. You can open "Advanced Configurations" (Actually it's doxywizard) and try to include that file.
If yes, you can try to search the function name directly on the "search" tab and see what will happen.

@brannigan32
Copy link

Hi. Sorry for the late response. Actually I found out, that for some functions the graph is generated. However it seems to bo, that this is not the case for all functions. Is there any filter selecting the functions?

@ms22941
Copy link

ms22941 commented Jul 10, 2018

Hi. I got the same probs as @brannigan32 . It seems the solution has been scanned, but pressing Alt-F or clicking the corresponding toolbar button leads to no reaction.
A lot of .xml were generated, don't know wether they are complete.
I'm using VS 2017 pro on a mainly c# solution.

@league1991
Copy link
Owner

@brannigan32 Maybe some functions are in disabled macros. Try to define those macros in code graph.

@league1991
Copy link
Owner

@ms22941 You can try to search those functions' name in xmls. If you find them, something wrong happened inside CodeGraph.

@ms22941
Copy link

ms22941 commented Sep 15, 2018 via email

@league1991
Copy link
Owner

@ms22941 Is it possible for you to send the whole project to my e-mail, 549088764@qq.com? It will also be very helpful to send all the analysis result files under "CodeGraphData" folder to me. Then I can open your results and see what happened.

@ms22941
Copy link

ms22941 commented Sep 21, 2018

Got it working finally! It looks like the reason why it did not work was an '&' in the name of the solution directory which lead to an error when parsing the xml... After removing the '&', recompiling (don't know wether thats really required) and re-analysing the solution Code Graph seems to work fine.

@league1991
Copy link
Owner

@ms22941 Thanks for your reply. Recompiling is unnecessary. It seems to be doxygen's bug...

@weirdyang
Copy link

Experiencing the same thing in vs2019

@league1991
Copy link
Owner

@captmomo Can you use Alt+F to add functions?

@weirdyang
Copy link

Hi
I figured it out.

To get it to work.

  1. Open code graph
  2. Set language to c#
  3. Click on analyse
  4. Alt f and the node appears

Only following this sequence made it work.

@league1991
Copy link
Owner

You are right. You have to do it manually but I guess step 2 is unnecessary.

Thanks for your feedback, maybe I should update the UI message.

@league1991
Copy link
Owner

league1991 commented Nov 16, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants