Click here to Skip to main content
15,886,362 members

How to know source function and source data when debug on visual studio 2015

ahmed_sa asked:

Open original thread
Problem
How to know that subfunction2 come from subfunction1 or with another meaning

it source of subfunction2 exist on subfunction1 ?

I work on csharp language on visual studio 2015 windows form

I implement and develop big module and have more functions nested on another functions

i need when make breakpoint to function to know this function come from any place or

with another way what calling to this function done before it called and data on function

come from any place I ask this question because i work on project have more functions

nested on each others and in different places and different files

What I have tried:

Public Datatable MainFunction(string data)
{
datatable dt1=SubFunction1(string data);
}
Public Datatable SubFunction1(string data)
{
datatable dt2=SubFunction2(string data);
}
Public Datatable SubFunction2(string data)
{

}

when debug and found exception on SubFunction2

How to know that subfunction2 come from subfunction1 or with another meaning 

 source of subfunction2 exist on subfunction1
Tags: C# 6.0

Plain Text
ASM
ASP
ASP.NET
BASIC
BAT
C#
C++
COBOL
CoffeeScript
CSS
Dart
dbase
F#
FORTRAN
HTML
Java
Javascript
Kotlin
Lua
MIDL
MSIL
ObjectiveC
Pascal
PERL
PHP
PowerShell
Python
Razor
Ruby
Scala
Shell
SLN
SQL
Swift
T4
Terminal
TypeScript
VB
VBScript
XML
YAML

Preview



When answering a question please:
  1. Read the question carefully.
  2. Understand that English isn't everyone's first language so be lenient of bad spelling and grammar.
  3. If a question is poorly phrased then either ask for clarification, ignore it, or edit the question and fix the problem. Insults are not welcome.
  4. Don't tell someone to read the manual. Chances are they have and don't get it. Provide an answer or move on to the next question.
Let's work to help developers, not make them feel stupid.
Please note that all posts will be submitted under the http://www.codeproject.com/info/cpol10.aspx.



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900