Hi, I'm fixing a bug in an application and need to step thru the appl to find
where it's occuring. The main project includs 33 other projects each having
a .resx file in it. When I step through it would give me message that it
can't show me codes because only assembly codes are available.
Is there any good article on how to debug something like this? Also, I've
only being working with C#.net for 3 months and am still not very familiar on
using the debug and compile setting. Can someone also tell me a good article
to read up on this? I looked up some C# books but they're all very
fundamental and not very detial and helpful.
Thanks, Alpha 6 1631
I am a little confused from what you are saying so I will ask some
questions:
Are you attempting to debug a 'Release' or 'Debug' build? - make sure it is
a debug build
If you know approximately where the problem is occuring then place you could
use a 'Debugger.Break ' statement - this will allow you to atttach a
debutgger to the code and step through the code. Check out the following
link for usage http://msdn.microsoft.com/library/de...BreakTopic.asp
Infact check out the System.Diagnost ics namespace it has lots of use
classes, including classes that allow you to trace information into the
VS.Net IDE at runtime (System.Diagnos tics.Trace)
--
HTH
Ollie Riches http://www.phoneanalyser.net
Disclaimer: Opinions expressed in this forum are my own, and not
representative of my employer.
I do not answer questions on behalf of my employer. I'm just a programmer
helping programmers.
"Alpha" <Al***@discussi ons.microsoft.c om> wrote in message
news:9C******** *************** ***********@mic rosoft.com... Hi, I'm fixing a bug in an application and need to step thru the appl to find where it's occuring. The main project includs 33 other projects each having a .resx file in it. When I step through it would give me message that it can't show me codes because only assembly codes are available.
Is there any good article on how to debug something like this? Also, I've only being working with C#.net for 3 months and am still not very familiar on using the debug and compile setting. Can someone also tell me a good article to read up on this? I looked up some C# books but they're all very fundamental and not very detial and helpful.
Thanks, Alpha
I open the main appl in VS.net 2003. I want to run the application in the
debug mode to find the module or project where the bug is occuring so I can
fix it. I click the play arrow to run the appl in the debug mode and select
the Break-All under Debug menu when I get the problem area of the appl to
find out which Module it is. But it's here that I'm getting the message that
only assembly is avaiable.
In the project area of the main appl there are 33 other projects folder and
when expanded there is only .resx file. I think that's why I can't debug.
Can you point me to certain web page where I can find more information about
setting the debug and build options? Thanks.
"Ollie Riches" wrote: I am a little confused from what you are saying so I will ask some questions:
Are you attempting to debug a 'Release' or 'Debug' build? - make sure it is a debug build
If you know approximately where the problem is occuring then place you could use a 'Debugger.Break ' statement - this will allow you to atttach a debutgger to the code and step through the code. Check out the following link for usage
http://msdn.microsoft.com/library/de...BreakTopic.asp
Infact check out the System.Diagnost ics namespace it has lots of use classes, including classes that allow you to trace information into the VS.Net IDE at runtime (System.Diagnos tics.Trace)
-- HTH
Ollie Riches http://www.phoneanalyser.net
Disclaimer: Opinions expressed in this forum are my own, and not representative of my employer. I do not answer questions on behalf of my employer. I'm just a programmer helping programmers. "Alpha" <Al***@discussi ons.microsoft.c om> wrote in message news:9C******** *************** ***********@mic rosoft.com... Hi, I'm fixing a bug in an application and need to step thru the appl to find where it's occuring. The main project includs 33 other projects each having a .resx file in it. When I step through it would give me message that it can't show me codes because only assembly codes are available.
Is there any good article on how to debug something like this? Also, I've only being working with C#.net for 3 months and am still not very familiar on using the debug and compile setting. Can someone also tell me a good article to read up on this? I looked up some C# books but they're all very fundamental and not very detial and helpful.
Thanks, Alpha
"Alpha" <Al***@discussi ons.microsoft.c om> wrote in message
news:68******** *************** ***********@mic rosoft.com... I open the main appl in VS.net 2003. I want to run the application in the debug mode to find the module or project where the bug is occuring so I can fix it. I click the play arrow to run the appl in the debug mode and select the Break-All under Debug menu when I get the problem area of the appl to find out which Module it is. But it's here that I'm getting the message that only assembly is avaiable.
In the project area of the main appl there are 33 other projects folder and when expanded there is only .resx file. I think that's why I can't debug. Can you point me to certain web page where I can find more information about setting the debug and build options? Thanks.
You shouldn't have to set any particular options - (what are your other type
of apps? Also C#?) When you break the app, close the warning about only
assembly being available and look at the Call Stack window. That should
tell you where in your code you are.
--
Adam Clauss
Yes most are in C# of the 33 projects except for 2 of them.
OK. thanks. I think that will tell me which project/module. But what if I
want to step through that project /module? It doesn't work now.
"Adam Clauss" wrote: "Alpha" <Al***@discussi ons.microsoft.c om> wrote in message news:68******** *************** ***********@mic rosoft.com...I open the main appl in VS.net 2003. I want to run the application in the debug mode to find the module or project where the bug is occuring so I can fix it. I click the play arrow to run the appl in the debug mode and select the Break-All under Debug menu when I get the problem area of the appl to find out which Module it is. But it's here that I'm getting the message that only assembly is avaiable.
In the project area of the main appl there are 33 other projects folder and when expanded there is only .resx file. I think that's why I can't debug. Can you point me to certain web page where I can find more information about setting the debug and build options? Thanks.
You shouldn't have to set any particular options - (what are your other type of apps? Also C#?) When you break the app, close the warning about only assembly being available and look at the Call Stack window. That should tell you where in your code you are.
-- Adam Clauss
"Alpha" <Al***@discussi ons.microsoft.c om> wrote in message
news:97******** *************** ***********@mic rosoft.com... Yes most are in C# of the 33 projects except for 2 of them.
OK. thanks. I think that will tell me which project/module. But what if I want to step through that project /module? It doesn't work now.
That will tell you nto only process/module, but exactly which functions are
being called.
If you are getting assembly, then you are likely making some System call
that really won't help you much anyway. There should be a command to
"Step-Out" that will take it up one level at a time in the call stack. As
soon as you get to your code again, you can see where it is and set
breakpoints, step through, do whatever it is you need to do.
--
Adam Clauss
I will try that. Thank you.
"Adam Clauss" wrote: "Alpha" <Al***@discussi ons.microsoft.c om> wrote in message news:97******** *************** ***********@mic rosoft.com... Yes most are in C# of the 33 projects except for 2 of them.
OK. thanks. I think that will tell me which project/module. But what if I want to step through that project /module? It doesn't work now.
That will tell you nto only process/module, but exactly which functions are being called. If you are getting assembly, then you are likely making some System call that really won't help you much anyway. There should be a command to "Step-Out" that will take it up one level at a time in the call stack. As soon as you get to your code again, you can see where it is and set breakpoints, step through, do whatever it is you need to do.
-- Adam Clauss This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Edi |
last post by:
I want to debug my application and for that I use the step into debug command
button.
When I click on the step into command the next step ist executed. The
executed step raises some events.
Now I want to step into the EventHandlers of the raised events without
setting a breakpoint.
How can this be done?
|
by: baumann |
last post by:
Hi all,
I have one simple program:
#define __EXTENSIONS__
#include <stdio.h>
#include <string.h>
int main() {
|
by: Robert Millman |
last post by:
under ASP.NET, single stepping in debug mode appears not
to stop within event procedures. i.e. 1) Create web page
with submit button and event procedure for the click
event in the code behind page, 2) Breakpoint in the
Page_Load, 3) debug the web page and click the submit
button, 4) "step into" under debug several times, 5) The
debugger does not stop at any of the statements in the
click event handler. A breakpoint is needed in each...
|
by: Eric Caron |
last post by:
Hi everyone,
I installed the .NET Framework 2.0 beta 2 on a dev server to test some new
things in Web Developper Expres, but now when I try to remotely debug my 1.1
projects, I get the error message "Unable to start debugging on the web
server. Would you like to disable future attempts to debug ASP.NET pages
for this project?". Checked the usual suspects, like URLScan and the
Debugging Users group, but nothing has changed. Anyone know...
|
by: Frank |
last post by:
Hi,
with vb6 it was possible to step through the code by pressing F8. Is this
still possible with .net 2003?
Thanks,
Frank
| |
by: bbasberg |
last post by:
Hello,
I am a neophyte with Visual Basic but have been trying to hurry and get up to speed. I used to be able to "step into" code using Debug..step into but for the last couple of days I am unable to. Regardless of where in the code I place my cursor, I hear a microsoft error "thunk" and step into doesn't work. I am using VBA in Access if that matters.
here's one possible clue but it may just be a coincidence:
I tried some example...
|
by: =?Utf-8?B?U0M=?= |
last post by:
Hi everyone, i'm workin with vb.net 2003 and i using the debug step into, but
when i call a form within another the debugger doesn't go to the form that i
call, how do i solve this, without putting a breakpoint.
SC.
|
by: =?Utf-8?B?bWFydGluMQ==?= |
last post by:
All,
When debug, only step over find, cannot find step in and step out option,
can anyone know why?
Thanks,
Martin
|
by: ahmed222too |
last post by:
how to debug (step into) ajavaapplication?
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |