0

enter image description here

For any initialization or variable declaration like string x = new string(),..

in above image its for Hashtable htmessage = new hashtable();

Brien Foss
  • 3,336
  • 3
  • 21
  • 31
Sid
  • 5
  • 4
  • 3
    press `F10` instead `F11` – programtreasures Jan 19 '18 at 04:34
  • Possible duplicate of https://stackoverflow.com/questions/29780510/ignore-a-project-in-visual-studio-while-debugging – Peter Duniho Jan 19 '18 at 04:45
  • Your question is unclear. You claim to have code that reads `Hashtable htmessage = new hashtable();`, but that would not compile, and it's not clear which hash table class you meant to refer to. Normally, VS won't try to step into external code, so if the `Hashtable` in question is from .NET, you just need to turn off stepping into external code (if that's the case, see https://stackoverflow.com/questions/32048766/what-is-just-my-code) – Peter Duniho Jan 19 '18 at 04:48
  • Thank You for helping – Sid Jan 19 '18 at 17:53

1 Answers1

2

F11 will "Step Into", where F10 will "Step Over"

enter image description here

See the documentation Code Stepping Overview

Step Into and Step Over differ in only one respect, the way they handle function calls. Either command instructs the debugger to execute the next line of code. If the line contains a function call, Step Into executes only the call itself, then halts at the first line of code inside the function. Step Over executes the entire function, then halts at the first line outside the function. Use Step Into if you want to look inside the function call. Use Step Over if you want to avoid stepping into functions.

Brien Foss
  • 3,336
  • 3
  • 21
  • 31