How to trigger breakpoint in u-sql code behind (usql.cs) file?
up vote
0
down vote
favorite
The break point never trigger on submit job even i tried with local
account having all dll on my system.
azure azure-storage azure-data-lake u-sql azure-analysis-services
add a comment |
up vote
0
down vote
favorite
The break point never trigger on submit job even i tried with local
account having all dll on my system.
azure azure-storage azure-data-lake u-sql azure-analysis-services
the code behind execute and gives output but no break point trigger for inspection.
– David
Nov 11 at 17:41
Please help....
– David
Nov 11 at 20:08
Please post the code and script involved. Are you sure the code is even called by the U-sql script?
– Peter Bons
Nov 12 at 6:42
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
The break point never trigger on submit job even i tried with local
account having all dll on my system.
azure azure-storage azure-data-lake u-sql azure-analysis-services
The break point never trigger on submit job even i tried with local
account having all dll on my system.
azure azure-storage azure-data-lake u-sql azure-analysis-services
azure azure-storage azure-data-lake u-sql azure-analysis-services
asked Nov 11 at 17:40
David
32
32
the code behind execute and gives output but no break point trigger for inspection.
– David
Nov 11 at 17:41
Please help....
– David
Nov 11 at 20:08
Please post the code and script involved. Are you sure the code is even called by the U-sql script?
– Peter Bons
Nov 12 at 6:42
add a comment |
the code behind execute and gives output but no break point trigger for inspection.
– David
Nov 11 at 17:41
Please help....
– David
Nov 11 at 20:08
Please post the code and script involved. Are you sure the code is even called by the U-sql script?
– Peter Bons
Nov 12 at 6:42
the code behind execute and gives output but no break point trigger for inspection.
– David
Nov 11 at 17:41
the code behind execute and gives output but no break point trigger for inspection.
– David
Nov 11 at 17:41
Please help....
– David
Nov 11 at 20:08
Please help....
– David
Nov 11 at 20:08
Please post the code and script involved. Are you sure the code is even called by the U-sql script?
– Peter Bons
Nov 12 at 6:42
Please post the code and script involved. Are you sure the code is even called by the U-sql script?
– Peter Bons
Nov 12 at 6:42
add a comment |
1 Answer
1
active
oldest
votes
up vote
0
down vote
accepted
To debug u-sql c# assemblies, you will need to select "Debug" build and start with F5 / Run. If the break point is inside code behind file, it will be handled automatically. If it is in external assemblies, you will need to make sure the correspondent symbol files (*.pdb) can be loaded automatically by VS debugger. You can, for example, either register these symbol files as "WITH ADDITIONAL FILES" during assembly registration, or to follow the guides here: https://docs.microsoft.com/en-us/visualstudio/debugger/specify-symbol-dot-pdb-and-source-files-in-the-visual-studio-debugger?view=vs-2017
You can always check the output log window to see if the correspondent symbols are loaded.
Alternatively, you can add this in the correspondent code to force a break.
https://docs.microsoft.com/en-us/dotnet/api/system.diagnostics.debugger.break?view=netframework-4.7.2
Thanks alot. May i know how can I use Newtonsoft.Json in usql.cs file. We cannot add nuget package then how to use Newtonsoft???
– David
Nov 13 at 14:52
Code behind is not meant to be used for complex assemblies that has external dependencies as these external assemblies will not be registered automatically when you use code behind. In your case, I suggest that you create a separate C# assembly project that implements your function which can refer to nuget packages. However, for the query to work, you will also need to extract the Newtonsoft.Json assembly from the Nuget package (a renamed ZIP file) and then register and reference in your query.
– Yu Dong Yang
Nov 14 at 2:38
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
accepted
To debug u-sql c# assemblies, you will need to select "Debug" build and start with F5 / Run. If the break point is inside code behind file, it will be handled automatically. If it is in external assemblies, you will need to make sure the correspondent symbol files (*.pdb) can be loaded automatically by VS debugger. You can, for example, either register these symbol files as "WITH ADDITIONAL FILES" during assembly registration, or to follow the guides here: https://docs.microsoft.com/en-us/visualstudio/debugger/specify-symbol-dot-pdb-and-source-files-in-the-visual-studio-debugger?view=vs-2017
You can always check the output log window to see if the correspondent symbols are loaded.
Alternatively, you can add this in the correspondent code to force a break.
https://docs.microsoft.com/en-us/dotnet/api/system.diagnostics.debugger.break?view=netframework-4.7.2
Thanks alot. May i know how can I use Newtonsoft.Json in usql.cs file. We cannot add nuget package then how to use Newtonsoft???
– David
Nov 13 at 14:52
Code behind is not meant to be used for complex assemblies that has external dependencies as these external assemblies will not be registered automatically when you use code behind. In your case, I suggest that you create a separate C# assembly project that implements your function which can refer to nuget packages. However, for the query to work, you will also need to extract the Newtonsoft.Json assembly from the Nuget package (a renamed ZIP file) and then register and reference in your query.
– Yu Dong Yang
Nov 14 at 2:38
add a comment |
up vote
0
down vote
accepted
To debug u-sql c# assemblies, you will need to select "Debug" build and start with F5 / Run. If the break point is inside code behind file, it will be handled automatically. If it is in external assemblies, you will need to make sure the correspondent symbol files (*.pdb) can be loaded automatically by VS debugger. You can, for example, either register these symbol files as "WITH ADDITIONAL FILES" during assembly registration, or to follow the guides here: https://docs.microsoft.com/en-us/visualstudio/debugger/specify-symbol-dot-pdb-and-source-files-in-the-visual-studio-debugger?view=vs-2017
You can always check the output log window to see if the correspondent symbols are loaded.
Alternatively, you can add this in the correspondent code to force a break.
https://docs.microsoft.com/en-us/dotnet/api/system.diagnostics.debugger.break?view=netframework-4.7.2
Thanks alot. May i know how can I use Newtonsoft.Json in usql.cs file. We cannot add nuget package then how to use Newtonsoft???
– David
Nov 13 at 14:52
Code behind is not meant to be used for complex assemblies that has external dependencies as these external assemblies will not be registered automatically when you use code behind. In your case, I suggest that you create a separate C# assembly project that implements your function which can refer to nuget packages. However, for the query to work, you will also need to extract the Newtonsoft.Json assembly from the Nuget package (a renamed ZIP file) and then register and reference in your query.
– Yu Dong Yang
Nov 14 at 2:38
add a comment |
up vote
0
down vote
accepted
up vote
0
down vote
accepted
To debug u-sql c# assemblies, you will need to select "Debug" build and start with F5 / Run. If the break point is inside code behind file, it will be handled automatically. If it is in external assemblies, you will need to make sure the correspondent symbol files (*.pdb) can be loaded automatically by VS debugger. You can, for example, either register these symbol files as "WITH ADDITIONAL FILES" during assembly registration, or to follow the guides here: https://docs.microsoft.com/en-us/visualstudio/debugger/specify-symbol-dot-pdb-and-source-files-in-the-visual-studio-debugger?view=vs-2017
You can always check the output log window to see if the correspondent symbols are loaded.
Alternatively, you can add this in the correspondent code to force a break.
https://docs.microsoft.com/en-us/dotnet/api/system.diagnostics.debugger.break?view=netframework-4.7.2
To debug u-sql c# assemblies, you will need to select "Debug" build and start with F5 / Run. If the break point is inside code behind file, it will be handled automatically. If it is in external assemblies, you will need to make sure the correspondent symbol files (*.pdb) can be loaded automatically by VS debugger. You can, for example, either register these symbol files as "WITH ADDITIONAL FILES" during assembly registration, or to follow the guides here: https://docs.microsoft.com/en-us/visualstudio/debugger/specify-symbol-dot-pdb-and-source-files-in-the-visual-studio-debugger?view=vs-2017
You can always check the output log window to see if the correspondent symbols are loaded.
Alternatively, you can add this in the correspondent code to force a break.
https://docs.microsoft.com/en-us/dotnet/api/system.diagnostics.debugger.break?view=netframework-4.7.2
answered Nov 13 at 1:53
Yu Dong Yang
23615
23615
Thanks alot. May i know how can I use Newtonsoft.Json in usql.cs file. We cannot add nuget package then how to use Newtonsoft???
– David
Nov 13 at 14:52
Code behind is not meant to be used for complex assemblies that has external dependencies as these external assemblies will not be registered automatically when you use code behind. In your case, I suggest that you create a separate C# assembly project that implements your function which can refer to nuget packages. However, for the query to work, you will also need to extract the Newtonsoft.Json assembly from the Nuget package (a renamed ZIP file) and then register and reference in your query.
– Yu Dong Yang
Nov 14 at 2:38
add a comment |
Thanks alot. May i know how can I use Newtonsoft.Json in usql.cs file. We cannot add nuget package then how to use Newtonsoft???
– David
Nov 13 at 14:52
Code behind is not meant to be used for complex assemblies that has external dependencies as these external assemblies will not be registered automatically when you use code behind. In your case, I suggest that you create a separate C# assembly project that implements your function which can refer to nuget packages. However, for the query to work, you will also need to extract the Newtonsoft.Json assembly from the Nuget package (a renamed ZIP file) and then register and reference in your query.
– Yu Dong Yang
Nov 14 at 2:38
Thanks alot. May i know how can I use Newtonsoft.Json in usql.cs file. We cannot add nuget package then how to use Newtonsoft???
– David
Nov 13 at 14:52
Thanks alot. May i know how can I use Newtonsoft.Json in usql.cs file. We cannot add nuget package then how to use Newtonsoft???
– David
Nov 13 at 14:52
Code behind is not meant to be used for complex assemblies that has external dependencies as these external assemblies will not be registered automatically when you use code behind. In your case, I suggest that you create a separate C# assembly project that implements your function which can refer to nuget packages. However, for the query to work, you will also need to extract the Newtonsoft.Json assembly from the Nuget package (a renamed ZIP file) and then register and reference in your query.
– Yu Dong Yang
Nov 14 at 2:38
Code behind is not meant to be used for complex assemblies that has external dependencies as these external assemblies will not be registered automatically when you use code behind. In your case, I suggest that you create a separate C# assembly project that implements your function which can refer to nuget packages. However, for the query to work, you will also need to extract the Newtonsoft.Json assembly from the Nuget package (a renamed ZIP file) and then register and reference in your query.
– Yu Dong Yang
Nov 14 at 2:38
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53251434%2fhow-to-trigger-breakpoint-in-u-sql-code-behind-usql-cs-file%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
the code behind execute and gives output but no break point trigger for inspection.
– David
Nov 11 at 17:41
Please help....
– David
Nov 11 at 20:08
Please post the code and script involved. Are you sure the code is even called by the U-sql script?
– Peter Bons
Nov 12 at 6:42