[mapguide-users] RE: .NET environment

Knight, Gregory Gregory.Knight.bra at cityofboston.gov
Fri Feb 16 15:24:09 EST 2007


Express doesn't seem to have debugging options.  I am going to give the
VS Pro a whirl and see if I don't have better luck there.

Thanks.

-----Original Message-----
From: mapguide-users-bounces at lists.osgeo.org
[mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of Kori
Maleski
Sent: Friday, February 16, 2007 2:13 PM
To: 'MapGuide Users Mail List'
Subject: RE: [mapguide-users] RE: .NET environment

Also remember to go to Visual Studio "Tools > Options > Debugging" to
set
debugging preferences.

Under the Just-In-Time Option make sure that ALL the options are
checked.
This will allow the debugger to break in both Javascript and the
MapViewerNet code.

Also set your IE Browser Options so that Script Debugging is enabled.


Cheers,





________________________________




Kori Maleski
Senior Application Developer
WEBSOFT DEVELOPERS, INC.
P: (530) 759-8754 ext 114
F: (530) 759-0923
kori.maleski at websoftdev.com
________________________________

 
-----Original Message-----
From: mapguide-users-bounces at lists.osgeo.org
[mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of Brad L
Sent: Friday, February 16, 2007 11:01 AM
To: mapguide-users at lists.osgeo.org
Subject: [mapguide-users] RE: .NET environment


explicit and strict are different directives.

Another guess is that the packaged server runs on that added port and
when
you remove it you are now making a new request outside of your ide using
the
machines web server.  Try keeping the port in the url (it may not play
well
with mapguide) to test if you can hit any break point at all.  you may
need
to create a dummy page with some code in the page load event, put a
break
point in, set as start page and run.

Brad Leighninger
Mathews & Associates, Inc.
417-869-6009


Knight, Gregory wrote:
> 
> I did have debugging enabled - although I didn't have the
> strict/explicit parameters.  I added those, but it didn't seem to make
a
> difference.
> 
> Thanks for the web server tip.
> 
> Greg
> 
> -----Original Message-----
> From: mapguide-users-bounces at lists.osgeo.org
> [mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of Brad L
> Sent: Friday, February 16, 2007 1:18 PM
> To: mapguide-users at lists.osgeo.org
> Subject: Re: [mapguide-users] .NET environment
> 
> 
> check to make sure you have debugging enabled in your config file
> 
> <compilation debug="true" strict="false" explicit="true">
> 
> I don't like the packaged webserver.  If you don't want to change your
> ide
> settings but you would like to try it in a different web server set
your
> start options to:
> 
> "Don't open a page.  Wait for a request from an external application"
> 
> now you can open up a browser and call http://localhost/myapplication
> and
> debug
> 
> I use the full VS product but it should be similar in Web Developer.
> 
> Brad Leighninger
> Mathews & Associates, Inc.
> 417-869-6009
> 
> 
> Knight, Gregory wrote:
>> 
>> Since there seem to be some .NETers listening today, I thought Id
> throw
>> this one out there...
>> 
>>  
>> 
>> I use .NET/C# as my development environment.  One of the reasons I
> chose
>> this environment for MGOS development in the first place was the
> Visual
>> Web Developer IDE... things like intellisense, debugging, etc...
>> Unfortunately I haven't been able to completely take advantage of
this
>> environment - particularly for debugging. 
>> 
>>  
>> 
>> First I set some breakpoints on various task pages.  Then I launch my
>> application from the main page in debug mode from VWD.  VWD launches
> my
>> application in the ASP Development Server (and after I remove the
port
>> number that it adds), I can run my application.  If I select one of
> the
>> task pages where I previous set a break point, the point never gets
> hit.
>> VWD tells me that "The breakpoint will not be hit.  No symbols have
> been
>> loaded for the current document."
>> 
>>  
>> 
>> I assume others have got past this?  If I could get past this, I
might
>> post less questions to the list! :)
>> 
>>  
>> 
>> Thoughts appreciated,
>> 
>> 
>> Greg
>> 
>> 
>> 
>> 
>> -----------------------------------------
>> The substance of this message, including any attachments, may be
>> confidential, legally privileged and/or exempt from disclosure
>> pursuant to Massachusetts law. It is intended
>> solely for the addressee. If you received this in error, please
>> contact the sender and delete the material from any computer.
>> 
>> _______________________________________________
>> mapguide-users mailing list
>> mapguide-users at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>> 
>> 
> 
> -- 
> View this message in context:
> http://www.nabble.com/.NET-environment-tf3240988s16610.html#a9009676
> Sent from the MapGuide Users mailing list archive at Nabble.com.
> 
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
> 
> 

-- 
View this message in context:
http://www.nabble.com/.NET-environment-tf3240988s16610.html#a9010347
Sent from the MapGuide Users mailing list archive at Nabble.com.

_______________________________________________
mapguide-users mailing list
mapguide-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users

_______________________________________________
mapguide-users mailing list
mapguide-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


More information about the mapguide-users mailing list