Tuesday, February 28, 2017

Buggish: VS2013 Unable to debug and intellisense haywire

1. The breakpoint will not currently be hit. The source code is different from the original version.

I tried a bunch of different methods suggested in stackoverflow, but none seemed to have worked except to make additional changes to global.asax to force VS to recompile the code. I believe what may have caused the problem is that I was updated global.asax while I was still running the application in debug mode. Normally this is not a problem, but may be a timing of when I updated the code while the page was refreshing.


2. After the problem above, I had issues with intellisense in code-behind not recognizing objects in the aspx page. The red squiggly line comes up, but I am still able to compile and run the application with no compile errors. If I type out the object name, intellisense will not find the object.

Restarting VS fixed this problem. I do not know what caused this as I have restarted VS several times to fix the problem above. Either the problem came up after the fix above, or somehow keeping the files open when I closed VS before restarting somehow fixed the issue.


Reference

http://stackoverflow.com/questions/2468852/the-breakpoint-will-not-currently-be-hit-the-source-code-is-different-from-the

Saturday, January 14, 2017

Buggish: Visual Studio 2013 - Create table designer never loads

Problem type: hanging
Last status message: "the design surface is loading"; "inspecting database structure"
Steps: Open to database in SQL Server Object Explorer, right click Tables, select Add New Table...

Symptom: Application just hangs with "the design surface is loading" in the main panel, and "inspecting database structure" in the Data Tools Operations tool box.

I've left this open for several minutes, but nothing appears to happen.

Worked couple months ago. Haven't been used VS2013 since then.

Resolution: Changed the timeout period from 60 to 360 in registry: [HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\12.0\SQLDB\Database]
"QueryTimeoutSeconds"=dword:00000168
"LockTimeoutSeconds"=dword:00000005
"LongRunningQueryTimeoutSeconds"=dword:00000000


It is possible that I didn't wait long enough. But after this change, I was able to get the proper windows. I didn't have to wait as long as prior to the change by significant amount, but still had to wait a couple minutes.


Reference:
https://social.msdn.microsoft.com/Forums/Lync/en-US/835ecacd-05ed-4635-9124-922966fc1022/new-sql-standard-database-does-not-load-design-surface-designer-does-not-work?forum=ssdsgetstarted&prof=required

Saturday, January 7, 2017

Memory... where I succeed and where I fail (work)

I have been working a colleague who works very differently from how I work, but we have the same role. Although we both still get the work done successfully and effectively. What I always found fascinating as we discuss our processes was the things I never paid attention to and how I have absolutely no recollection to the piece of information.

The most interesting thing that I am always thinking in the back of my mind while we're chatting was how little I remember about the details that she picked up. I mean absolutely zero information like reading the document at all, but I did in reality. I only know because I keep a checklist of tasks that I am supposed to complete. I am also very consistent on the missing information.

What I have learned is that there are many factors to how my mind remembers and recalls information. The biggest factor is how much I "care" about the information. For me to work quickly and effectively, I ignore a lot information that is not directly relevant to my role. The less I care, then I will more likely forget the information. If I don't care, I will almost not remember a thing about it.

The next because factor is stress and time. By stress, I do not really mean high blood pressure but how close I am to my limitations. For example, I can only handle at most two new emergency releases. Another one, my level of quality will drop dramatically. If you were to ask me 2-3 months later about the details of those releases, I will almost not remember a thing even though I appeared to know all the random numbers and ids at the time. But given time and a long term release, I will remember significantly more information for a much longer period of time.

On the other hand, my colleague has less tolerance with stress. The reason (imo) is that she cares about a lot more information. If there is ever a problem, she will be able to resolve the problem herself. She has a reputation to be a great superstar. I am more known for managing and handling processes.

In some ways, we make a good team though. We have more work than our team can handle so she gets delegated the larger and more complex releases, while I work on the more immediate requests. We do have other people in our team and they fall in the spectrum between us, and we all work out pretty well.

Unfortunately for me is that this is a little fail for me because I am almost always busy but I am the only person willing to build something to improve our process (at least as far as I know). I have recently spoken to my manager so hopefully this will alleviate some time for me to improve our work.