Stack Trace tab in Microsoft Visual Studio 2017 - exception

I am currently working on code that throws exceptions.
Sometime last week, I accidentally opened a tab along the bottom of Microsoft Visual Studio that contained all of the stack trace information that I can normally find while examining the exception, locating "Stack Trace" and clicking on the Magnifying Glass, which will open a new window that contains text with extra details about the exception, such as which calls lead up to the exception, and exactly which line of code threw the exception.
The most interesting thing about this Stack Trace tab is that it allowed me to click on the information and Microsoft Visual Studio would automatically show me the line within the file in question.
Most of the information that I find about this directs me to the Call Stack tab, which is not what I'm looking for. Here's an example of a question that is worded similarly, but does not give the answer that I'm looking for.
I've tried finding the Stack Trace window using Resharper:
And this will open this Stack Trace window, that seems like it should be what I'm looking for, but it only shows a date value. This date might be related to the exception that I'm looking for, but I'm looking for the information within the window that I can find by inspecting the exception object. Here's a screenshot that shows that the Stack Trace Explorer window displays:
EDIT I just found out that this text comes directly from what is currently in my clipboard.
Here is a screenshot that contains information that I'm looking for, but I'd like to find this information with clickable lines that allow me to navigate to the lines related to the exception. (I redacted potentially sensitive text within the screenshot. I included this screenshot only to give an idea about the information that I'm looking for.)

I found the answer.
Something about the Stack Trace Explorer takes information from the clipboard when it is opened.
The information that is contained within the Stack Trace Magnifying Glass popup that is found by inspecting the contents of the Exception can be put into ReSharper's Stack Trace window by copying the entire contents of the Exception's Stack Trace information, then opening ReSharper's Stack Trace window.
Within this Stack Trace window, details can be clicked on to navigate to the target line within the target file.
I'm going to keep this question/answer available instead of deleting it, in case it will help somebody in the future.

Related

Why is Sublime Text context menu disabled (image below)

I have installed HTML-CSS-JS Prettify package in Sublime Text 3 (on Ubuntu 18.4).
The image below shows that it appears on the context menu. However, when I select its context menu (the second context menu) has all options greyed out. I can't find a explanation anywhere and would appreciate knowing how to enable it.
If it is any use the "Anaconda" selection is also all greyed out when I select it. Nodejs is not.
Many thanks.
Menu items appear disabled for a couple of different reasons.
The first (and most common) is that when a menu is about to be displayed, Sublime asks every command bound to an item available in the menu if it should be enabled right now or not, and the command can decide to disable itself if it currently doesn't apply.
The second reason is that the command bound to the menu item is currently missing. For people using packages and not creating them themselves, that generally means that there's something wrong with the plugin that provides the command, such as it not loading for some reason.
In this case, based on the items in there it seems more likely that the second case is what's getting you here.
In order to check that, use View > Show Console or the associated key binding and see if there are any messages that look like a package didn't load for some reason. If so, resolving whatever issue that is should get things working.

How to use Selenium web browser to post in salesforce

My friend recommended Kantu for work automation hence I'm trying it out but couldn't seem to find the answer to my question on the web.
I'm new at coding, automation, stackoverflow and this is my first post.
Have just installed Kantu for Chrome- Selenium IDE Light and am trying to automate a daily post message within salesforce.
However, have received this error when I try to click on the message box.
[error]
time out when looking for element '//*[#id="outerContainer"]/div[1]/div[1]/div[1]/p'
When I click on inspect, I find this code for the message box:
I've tried running the Test Case demos and everything seems to be able to run well without problems. Noticed that the key difference in the Selenium IDE demos are that the text boxes are fixed (i.e. constantly appearing on the pages) whilst the text boxes within salesforce only appear when clicked upon.
Have tried to add in macros to click on the text div box within salesforce but Selenium doesn't seem to be able to record the click part hence unable to insert any texts into the salesforce.
Hope someone can help.
Many thanks in advance, happy new year!

Viewing errors in PhpStorm 6.0.3

I am using PhpStorm 6. It is showing me error counts as shown below:-
Can someone let me know where and how can I view the actual errors?
Just click on such red marker on a scroll bar (as per your screenshot) to navigate to the line with error.
You can use Navigate | Next Highlighted Error (F2) and Navigate | Previous Highlighted Error (Shift + F2) to navigate between all the warnings and errors (this will exclude minor notices, spell checker marks etc)
Use Code | Inspect Code... to inspect current file (or whole folder) -- it will list ALL found issues in hierarchical view and will provide fixes to some of them (depends on actual Inspection).
Please note that this tool window does not update automatically -- you need to re-run inspection manually to see updated results.
General info: https://www.jetbrains.com/help/phpstorm/2016.3/code-inspection.html
The line where the error occurred is red, so you just pass your mouse on top of the red dot in the scroll bar.

Access 2010 remove access window completely

I found a question here on stack overflow about removing the access window and they displayed a picture showing it done, but when I attempted to use the code it didn't do anything as far as I can tell. When it comes to VB and Access I'm a newb and could use a little help in getting my database to display something similar to this. http://img403.imageshack.us/img403/2053/pycsd.png
That is one of my screen caps. All you need in your startup code is the following line of code:
DoCmd.ShowToolbar "Ribbon", acToolbarNo
The above code can be placed in your startup form.
So, the general settings are:
Tabbed window mode (which is default anyway).
Turn off display of tabs.
Turn off navigation pane.
Just set the form as your startup form and in the forms on-load event execute the above one line of code.

Creating Chrome popup with a C++ program

Problem context:
I have a C++ program and a web presence. Currently the way things are working I have made a control panel with javascript and html. And it send commands via an unimportant communication medium to control things or get information from the C++ program.
Now, when the C++ program launches, I'm making it run a
ShellExecute(NULL, "open", addressBuffer," --new-window", NULL, SW_NORMAL);
This is a way of launching the default browser with the given address. The addressBuffer in this case points to an intermediate HTML file that quickly turns around and uses the
window.open()
in Javascript to open the final popup, then closes itself.
The result is the user now has the popup control panel that I want them to have but the user's main browser window also gets given focus, un-minimized, and placed on a different tab than the one they had selected. (Basically pops up out of nowhere and selects a another tab)
Problem:
I'm looking for a way to launch a Chrome popup, without disturbing a previously open browser window. Any ideas or solutions would be very helpful.
Lastly, it's worth noting that the " --new-window" from the code above doesn't actually open a new window like you would expect. In this case it's actually doing nothing... If it did work, none of this would really be an issue.
I know this is wordy so thanks in advance for you time!
-Michael
Alright, I came up with a solution.
Something about how ShellExecute processes it's commands was preventing the command line args to be passed in correctly.
My work-around includes grabbing the path to Chrome from the registry,
HKET_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\chrome.exe
Then simply doing a system() command with the chrome path "--new-window" and the web path.
Then I let the intermediate html page open it's popup and close itself.
Tada done.
Thanks.