473,545 Members | 2,068 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Visual Studio: StackOverflow

Hi all,

I think I may have created a bit of a problem earlier with some of my
classes....

I *think* that I may have inherited a class that was inheriting that class -
endless loop kinda scenario....alt hough this wasn't built out of no where VS
pops this error up - whats more frustrating is that it does it now every
time i open the project in VS, its gives me an option to debug - yes, to
debug the deveng!!!! I'm not quite that advanced yet ... hehe..

Anyone got any ideas how I might recover my solution/project and get things
working again? I've tried amending the code in the files themselves but it
still fails...

Any help would be really appreciated.

Regards

Rob
Nov 19 '05 #1
23 2538
Step through the debugger and see where it runs away on you...

--
Curt Christianson
site: http://www.darkfalz.com
blog: http://blog.darkfalz.com

"Rob Meade" wrote:
Hi all,

I think I may have created a bit of a problem earlier with some of my
classes....

I *think* that I may have inherited a class that was inheriting that class -
endless loop kinda scenario....alt hough this wasn't built out of no where VS
pops this error up - whats more frustrating is that it does it now every
time i open the project in VS, its gives me an option to debug - yes, to
debug the deveng!!!! I'm not quite that advanced yet ... hehe..

Anyone got any ideas how I might recover my solution/project and get things
working again? I've tried amending the code in the files themselves but it
still fails...

Any help would be really appreciated.

Regards

Rob

Nov 19 '05 #2
vs has to load your components to implement intellesence and the
webdesigner. use the debbuger to find the bad component. once you know,
delete your dll's, so vs has nothing to load, then fix the bug in your code.
its bound to be the constructor of one of your objects.

-- bruce (sqlwork.com)

"Rob Meade" <te************ **@edaem.bbor> wrote in message
news:Zk******** ***********@tex t.news.blueyond er.co.uk...
Hi all,

I think I may have created a bit of a problem earlier with some of my
classes....

I *think* that I may have inherited a class that was inheriting that
class - endless loop kinda scenario....alt hough this wasn't built out of
no where VS pops this error up - whats more frustrating is that it does it
now every time i open the project in VS, its gives me an option to debug -
yes, to debug the deveng!!!! I'm not quite that advanced yet ... hehe..

Anyone got any ideas how I might recover my solution/project and get
things working again? I've tried amending the code in the files
themselves but it still fails...

Any help would be really appreciated.

Regards

Rob

Nov 19 '05 #3
"Bruce Barker" / "Curt_C" wrote ...
use the debbuger


Hi guys,

Many thanks for the replies...I would love to try this, but I dont get given
the opportunity...

"my" code fails to load and initiates the debugger for VS (deveng etc) -
when you choose a debugger (doesn't matter which) - I then get another popup
which says..."disasse mbly cannot be displayed in run mode"....

This is followed by a popup which says "An unhandled exception of type
system.stackove rflowexception occured in mscorlib.dll.

When something does load its a load of numbers in one column down the page,
some kind of actions by the looks of it in the next, and the nvalues in the
third - I've never ever seen anything like this so have absolutely no idea
what it means...the line it queries is this one:

00000030 mov ebp,eax

Across the top of this page there's a tab which says "Disassembl y" -
underneath that there's a drop down with the current value displaying
"System.strig.t ochararray"

After closing the debugger VS then just sits there and hangs....I have to
end the process for deveng to get back into windows...
I am completely open to suggestions and advice!

Rob
Nov 19 '05 #4
Set a breakpoint somewhere early (like Page_Load) and step through it to see
whats causing your stack overflow.

"Rob Meade" <te************ **@edaem.bbor> wrote in message
news:zZ******** ***********@tex t.news.blueyond er.co.uk...
"Bruce Barker" / "Curt_C" wrote ...
use the debbuger


Hi guys,

Many thanks for the replies...I would love to try this, but I dont get
given the opportunity...

"my" code fails to load and initiates the debugger for VS (deveng etc) -
when you choose a debugger (doesn't matter which) - I then get another
popup which says..."disasse mbly cannot be displayed in run mode"....

This is followed by a popup which says "An unhandled exception of type
system.stackove rflowexception occured in mscorlib.dll.

When something does load its a load of numbers in one column down the
page, some kind of actions by the looks of it in the next, and the nvalues
in the third - I've never ever seen anything like this so have absolutely
no idea what it means...the line it queries is this one:

00000030 mov ebp,eax

Across the top of this page there's a tab which says "Disassembl y" -
underneath that there's a drop down with the current value displaying
"System.strig.t ochararray"

After closing the debugger VS then just sits there and hangs....I have to
end the process for deveng to get back into windows...
I am completely open to suggestions and advice!

Rob

Nov 19 '05 #5
"Steven Berkovitz" wrote ...
Set a breakpoint somewhere early (like Page_Load) and step through it to
see whats causing your stack overflow.


Argghhhhh!!!

hehe, you are all missing the point! I cannot put any break points in
because its Visual Studio that is dying, ie, I cannot fully open my project
to put a break point in to debug it - its the opening of hte project from
the START page in Visual Studio that causes the problem (well, thats where
it happens, its obviously my code not Visual Studio - but my point is the
same)...

Next! :oD

Rob
Nov 19 '05 #6
Rob Meade wrote:
"Steven Berkovitz" wrote ...
Set a breakpoint somewhere early (like Page_Load) and step through
it to see whats causing your stack overflow.


Argghhhhh!!!

hehe, you are all missing the point! I cannot put any break points in
because its Visual Studio that is dying, ie, I cannot fully open my
project to put a break point in to debug it - its the opening of hte
project from the START page in Visual Studio that causes the problem
(well, thats where it happens, its obviously my code not Visual
Studio - but my point is the same)...


Download the Microsoft Debugging Tools for Windows. (You can find them on
MSDN.) Attach cdb to the aspnet_wp.exe process (or w3wp process) in crash
mode. When the problem happens, it will generate a crash dump that you can
analyze in Windbg to see where the problem is.

--
Jim Cheshire
JIMCO Software
http://www.jimcosoftware.com


Nov 19 '05 #7
"JIMCO Software" wrote ...
Download the Microsoft Debugging Tools for Windows. (You can find them on
MSDN.) Attach cdb to the aspnet_wp.exe process (or w3wp process) in crash
mode. When the problem happens, it will generate a crash dump that you
can analyze in Windbg to see where the problem is.


Hi Jim,

Cheers for the reply, currently downloading it now - sounds a bit
complicated but hopefully I'll get through it - I'll post up any problems I
have/find....

Wish me luck!

Oh, and I had a suggestion from a colleague to just create a new project and
import the various files that I needed for it - sound like a plan or just a
way to recreate the same problem with a new project?

Rob
Nov 19 '05 #8
"JIMCO Software" wrote ...
Download the Microsoft Debugging Tools for Windows. (You can find them on
MSDN.) Attach cdb to the aspnet_wp.exe process (or w3wp process) in crash
mode. When the problem happens, it will generate a crash dump that you
can analyze in Windbg to see where the problem is.


Hi Jim,

OK - installed, I dont have an option to "Attach cdb" but I do have an
option which says "Attach to process..." - I selected the aspnet_wp.exe
one - just to check though - my project has both a Webby part, and a windows
service - is it the same process for the windows service? Because nowt it
happening, VS still just kicks off and then gives me the option to debug
(choice of debuggers etc) - this new thing just sits there and does nowt -
made me think perhaps its attached to the wrong thing?

Regards

Rob
Nov 19 '05 #9
"JIMCO Software" wrote ...
Download the Microsoft Debugging Tools for Windows. (You can find them on
MSDN.) Attach cdb to the aspnet_wp.exe process (or w3wp process) in crash
mode. When the problem happens, it will generate a crash dump that you
can analyze in Windbg to see where the problem is.


I tried attaching it to the "deveng" - when I did that it just sat there, I
found an option that said "Goto unhandled exception" - I clicked that - I
got this in a popup window:

An exception 'System.StackOv erflowException ' has occurred in DefaultDomain.

However, a debugger that cannot handle the exception type is already
attached to the process.
The debugger in VS did previously give me content - not that I had any idea
what I was looking at - all I get with this is a grey screen - most likely
me not knowing what I'm looking at or what I should be doing with it but I
thought I'd followed your instructions thus far - any ideas Jim?

Thanks in advance for any further help.

Regards

Rob
Nov 19 '05 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
7258
by: angelag | last post by:
I am currently taking a college course in Visual Basic.Net and I am a beginner. I bought Visual Studio.Net 2003 to do my homework at home. I built my first project and e-mailed it to myself at school. When I tried to open it in the lab, I got a message saying I couldn't open it because it was created with a newer version. Evidently the lab...
0
6091
by: Tom Lee | last post by:
Hi, I'm new to .NET 2003 compiler. When I tried to compile my program using DEBUG mode, I got the following errors in the C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7 \include\xdebug file as folows. I need help to resolve them ASAP: cl /c /nologo /MDd /W3 /Od /GR /GM /Zi /GX /D "_DEBUG" /D " WIN32" /D "_W INDOWS" /D "_WINDLL"...
1
3898
by: Novice | last post by:
Hi all, I'm afraid this is the second posting of this information as I didn't get a response on the previous post. I will try to shorten my message (i.e. be more concise) in the hopes that it will make it easier for someone (i.e. a Microsoft person) to digest the information and respond to it. I am a C++ and Java developer with over 3 years of...
0
2573
by: gerd | last post by:
Hello, I want to port an MFC Application from Visual Studio 6 MFC application to Visual C++ 2005 express edition beta. While building i get following error: ------ Build started: Project: OSTDLL, Configuration: Debug Win32 ------ Compiling... StdAfx.cpp
1
3578
by: johnlim20088 | last post by:
Hi, Currently I have 6 web projects located in Visual Source Safe 6.0, as usual, everytime I will open solution file located in my local computer, connected to source safe, then check out/check in some files and work on it. Let say, I want add new page to web project named websiteOrder.sln, i will open websiteOrder.sln in my local computer,...
0
6653
by: marathoner | last post by:
I am currently migrating my Visual C++ 6.0 applications to Visual Studio 2005. I am getting compiler errors involving the VS2005's platform SDK. When I removed directory references to that SDK, and started using the Microsoft Platform SDK for XP SP2, the errors disappeared, but I am now getting numerous warnings (macro redefinitions) as...
2
3383
by: Cramer | last post by:
So, what is the relationship between Visual Studio and Visual Web Developer. I find a lot of documentation on MSDN that presents Visual Web Developer as it's own stand-alone product (which I'd expect of the Express editions), but apparently there are NON Express versions of Visual Web Developer. Is Visual Web Developer only built-in to...
0
7308
jwwicks
by: jwwicks | last post by:
Introduction This tutorial describes how to use Visual Studio to create a new C++ program, compile/run a program, resume work on an existing program and debug a program. It is aimed at the beginning CIS student who is struggling to get their programs working. I work in the computer lab at the college I'm attending and I see many students who...
3
10493
by: Johnson | last post by:
I'm not sure if this is an IIS 5.1 issue or ASP.NET issue, or Visual Studio 2008 issue -- thus posting to 3 groups. Please don't be offended. The problem I'm encountering is that Visual Studio closes unexpectedly and without any error message being displayed, or error messages written to the system logs. Visual Studio closes when I attempt...
0
7470
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7659
Oralloy
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. ...
1
7428
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...
0
7760
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
5975
agi2029
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...
1
5334
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
3444
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1887
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
0
709
bsmnconsultancy
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...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.