Visual Studio: How to activate compile errors? - visual-studio

sorry, this is not a very nice question for here, but I'm very stressed right now and i have to finish sth. now, so...
I accidentially deactivated compile errors in Visual Basic and I cannot find the option to reactivate. Google doesn't help, and manuals, too.
Please help :(
Thx very much!
fLo
EDIT:
It's about the errors when, for example, I run the following code:
Dim a As Integer
a = 9999999999999999999
Then, usually, the program gets stopped and a given error message shows (what type of exception, which row etc.).

You're probably looking for View, Error List.

Related

How to debug quickly in phoenix/elixir?

As I am learning Elixir/Phoenix, I happen to run into an issue like this often.
The problem is that this comes from a dependency, so normally I do this:
open deps/something/.../thefile.ex
add some debug code like IO.inspect to see what params are being passed
stop server, recompile with mix deps.recompile something
check the documentation to see what types are expected to that function
compare the types and trace down the problem to my code
This works but I'd like to improve my process, I know I can use Iex to start a repl, but I'd like to get much faster in terms of:
having a repl inside of the error page itself started automatically (like in better_errors gem for Rails)
having a way to see what arguments went into that method without me digging around (could be solved by the former point)
being able to see a method's documentation quickly
Also any other tips are greatly appreciated.
Please open up an issue in Plug: https://github.com/elixir-lang/plug
You have some great suggestions, like accessing the docs and make the arguments explicit. I don't think we can provide a REPL at the place of error though.
EDIT 1: I went ahead and opened an issue here since I got excited about those improvements! :D
EDIT 2: I realize that I should probably have used a comment as this is not quite an answer (yet!)

I have query about TeamSpeak3

enter image description here
I have installed TeamSpeak3 and while launching the app, I receive the Following error: " the procedure entry point free could not be located in the dynamic link library C:\Program Files\TeamSpeak3 Client\Qt5Qml.dll ". How I can fix this?
This might no be the correct place to post this kind of question, but nonetheless here's my answer:
I also had this error once, as I remember, and a reinstall fixed this for me. Hopefully for you as well.

MSBuild error with linked files

When I use msbuild I get the following error:
CS2001 Source file could not be found.
I have noticed the only files that I get this error for are used as a linked reference to the file, so this could be the issue. Any idea's how to get them to build?
I should add that I am able to build the solution in visual studio without a problem.
Hi everyone! Just want to let anyone who cares know what the problem was. It was a length issue as I stated in my comment. I changed the path to just my c drive and everything built fine. Thanks to everyone who took the time to look at this for me. I appreciate it.
Just want to let anyone who cares know what the problem was. It was a length issue as I stated in my comment. I changed the path to just my c drive and everything built fine. Thanks to everyone who took the time to look at this for me. I appreciate it.

Getting object reference error in my MVP application

I am receiving random object reference error in different modules of my application.The errors m facing is intermittent. I did debug of my code it looks all correct. Moreover, whenever I run into that error and I try again (immediately after I got error) with same steps with same input conditions that error does not come up. This is something which is happening not only in in development regions but also in production regions. I tried to analyze and I got some leads that there might be problem with temporary ASP. But I don't know how that can cause object reference errors. Sometimes I see Source error information like App_Web_ighjds[some kind of ID I guess]. I don't know where exactly the problem is? As far as my code is concerned It looks all fine. I believe if there was problem with my code then it should be reproducible every time. Does anybody have any idea why such error might be happening? If it is issue with temporary asp.net files then what I should do to avoid such error?? Any help is much appreciated. Thanks.
You're looking for ideas: I would suspect your module initializers or any DI container initialization.
Look for code that runs only on application start.
I would recommend to reset your web server completely before starting new debugging session.
I would also recommend setting Visual Studio debugger to "Break when an exception is thrown", by going to "Exceptions" settings (Ctrl-Alt-E) and checking the "CLR Exception" "Thrown" checkbox.

no error messages in xcode?

I'm coming from using visual studio. When I run in XCode and I get an error, it just says something like SIGABRT, but there are no helpful error messages like in VS, it doesn't point me to any code. There is just a list of memory addresses and threads.
How do I make it display messages like VS?
You put in your own error catchers, or use breakpoints. There's no way to make it give you helpful error messages. The best you can usually do is figure out which line it failed on, through trial and error using breakpoints.
You should look at Exception Breakpoints. Usually you want to add an exception throw Breakpoint to see which line threw the exception. More details in this answer: Xcode doesn't show the line that causes a crash
You should also always scan your code for errors and post some code! If you don't post code, most of the times nobody will be able to help you, especially when the problem is a code related crash.

Resources